Skip to content

Commit b447321

Browse files
Merge pull request #708 from appwrite/fix-swift-oauth-params
Fix swift params and path
2 parents 117ceee + 2a581f9 commit b447321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/swift/base/requests/OAuth.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
let query = "?\(client.parametersToQueryString(params: params))"
2-
let url = URL(string: client.endPoint + api_path + query)!
1+
let query = "?\(client.parametersToQueryString(params: apiParams))"
2+
let url = URL(string: client.endPoint + apiPath + query)!
33
let callbackScheme = "appwrite-callback-\(client.config["project"] ?? "")"
44
let group = DispatchGroup()
55

0 commit comments

Comments
 (0)