mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Save user id (fix error wrong feed data)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user