diff --git a/Kyoo.Common/Models/Page.cs b/Kyoo.Common/Models/Page.cs index f91e94d8..71f9c7cd 100644 --- a/Kyoo.Common/Models/Page.cs +++ b/Kyoo.Common/Models/Page.cs @@ -35,7 +35,7 @@ namespace Kyoo.Models Items = items; This = url + query.ToQueryString(); - if (items.Count == limit) + if (items.Count == limit && limit > 0) { query["afterID"] = items.Last().ID.ToString(); Next = url + query.ToQueryString();