multistore
Laurent 1 year ago
parent 218dfcc865
commit 06f7d9193d
  1. 4
      LeStorage/Services.swift

@ -278,9 +278,7 @@ public class Services {
/// - Parameters:
/// - user: A user instance to send to the server
public func createAccount<U: UserPasswordBase, V: UserBase>(user: U) async throws -> V {
let response: V = try await _runRequest(serviceConf: .createAccount, payload: user)
// Store.main.setUserName(user.username)
return response
return try await _runRequest(serviceConf: .createAccount, payload: user)
}
/// Requests a token for a username and password

Loading…
Cancel
Save