1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49: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 {
final response =
await APIRequest.withoutLogin("account/check_password_reset_token")
.addString("token", token)
.addString("reset_token", token)
.execWithThrowGetObject();
return ResCheckPasswordToken(
@ -190,7 +190,7 @@ class AccountHelper {
static Future<void> changeAccountPassword(
String token, String password) async =>
await APIRequest.withoutLogin("account/reset_user_passwd")
.addString("token", token)
.addString("reset_token", token)
.addString("password", password)
.execWithThrow();