Fix user creation issue

sync
Laurent 1 year ago
parent a8bd538857
commit d94cf11a9f
  1. 2
      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)

Loading…
Cancel
Save