auth
This commit is contained in:
parent
729384708a
commit
63d0e8957e
@ -38,7 +38,7 @@ public final class NetworkUser: NetworkUserProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func addUser(idUser: String, email: String, firstname: String, lastname: String, secondname: String, datebirthday: String, gender: String, token: String) async throws -> ServerResponseRegister {
|
public func addUser(idUser: String, email: String, firstname: String, lastname: String, secondname: String, datebirthday: String, gender: String, token: String) async throws -> ServerResponseRegister {
|
||||||
let data = try await baseUrl.execute(path: URLS.updateUserInfo+"/"+idUser, method: .put, headers: Headers.headerWithToken(token: token), parameters: [
|
let data = try await baseUrl.execute(path: URLS.updateUserInfo+idUser, method: .put, headers: Headers.headerWithToken(token: token), parameters: [
|
||||||
"email" : email,
|
"email" : email,
|
||||||
"emailVisibility" : true,
|
"emailVisibility" : true,
|
||||||
"firstname" : firstname,
|
"firstname" : firstname,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user