Save user id (fix error wrong feed data)

This commit is contained in:
Maksym Pavlenko
2017-10-23 20:38:36 -07:00
parent 7afa78bc78
commit 57f24bd137
+1
View File
@@ -39,6 +39,7 @@ func (s *service) CreateFeed(req *api.CreateFeedRequest, identity *api.Identity)
feed.LastAccess = time.Now().UTC()
if identity.FeatureLevel > 0 {
feed.UserId = identity.UserId
feed.Quality = req.Quality
feed.Format = req.Format
feed.FeatureLevel = identity.FeatureLevel