From 6fa5aa39e7c02b1783553c677e1b4925b7bb1784 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Fri, 4 Oct 2024 17:11:51 +0200 Subject: [PATCH] fix: task list pagination --- Sources/Task.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Task.swift b/Sources/Task.swift index f43bbca..ca6b2e9 100644 --- a/Sources/Task.swift +++ b/Sources/Task.swift @@ -119,7 +119,7 @@ public struct VOTask { } public func urlForList(_ options: ListOptions) -> URL { - if let query = options.query { + if let query = options.urlQuery { URL(string: "\(url())?\(query)")! } else { url()