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)