1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix conflict

This commit is contained in:
Pierre HUBERT 2021-07-13 18:08:19 +02:00
parent a076c08429
commit 45cd7f1481

View File

@ -174,7 +174,7 @@ class AccountHelper {
String token) async { String token) async {
final response = final response =
await APIRequest.withoutLogin("account/check_password_reset_token") await APIRequest.withoutLogin("account/check_password_reset_token")
.addString("token", token) .addString("reset_token", token)
.execWithThrowGetObject(); .execWithThrowGetObject();
return ResCheckPasswordToken( return ResCheckPasswordToken(
@ -190,7 +190,7 @@ class AccountHelper {
static Future<void> changeAccountPassword( static Future<void> changeAccountPassword(
String token, String password) async => String token, String password) async =>
await APIRequest.withoutLogin("account/reset_user_passwd") await APIRequest.withoutLogin("account/reset_user_passwd")
.addString("token", token) .addString("reset_token", token)
.addString("password", password) .addString("password", password)
.execWithThrow(); .execWithThrow();