mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix page validator
This commit is contained in:
@ -50,7 +50,7 @@ func (s Service) makeFeed(req *api.CreateFeedRequest, identity *api.Identity) (*
|
|||||||
feed.CreatedAt = now
|
feed.CreatedAt = now
|
||||||
feed.LastAccess = now
|
feed.LastAccess = now
|
||||||
|
|
||||||
if identity.FeatureLevel == api.ExtendedPagination {
|
if identity.FeatureLevel >= api.ExtendedPagination {
|
||||||
if feed.PageSize > 600 {
|
if feed.PageSize > 600 {
|
||||||
feed.PageSize = 600
|
feed.PageSize = 600
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user