From d94cf11a9f19fc5f3e19ba41c514a66986e2667c Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 15 Aug 2024 18:23:15 +0200 Subject: [PATCH] Fix user creation issue --- LeStorage/Services.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LeStorage/Services.swift b/LeStorage/Services.swift index c4573cf..84b9c50 100644 --- a/LeStorage/Services.swift +++ b/LeStorage/Services.swift @@ -20,7 +20,7 @@ struct ServiceCall { var requiresToken: Bool } -let createAccountCall: ServiceCall = ServiceCall(path: "users", method: .post, requiresToken: false) +let createAccountCall: ServiceCall = ServiceCall(path: "users/", method: .post, requiresToken: false) let requestTokenCall: ServiceCall = ServiceCall(path: "token-auth/", method: .post, requiresToken: false) let logoutCall: ServiceCall = ServiceCall(path: "api-token-logout/", method: .post, requiresToken: true) let getUserCall: ServiceCall = ServiceCall(path: "user-by-token/", method: .get, requiresToken: true)