From 45cd7f1481bb9a9d86d7fe15f901222b42dfd23b Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 13 Jul 2021 18:08:19 +0200 Subject: [PATCH] Fix conflict --- lib/helpers/account_helper.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/helpers/account_helper.dart b/lib/helpers/account_helper.dart index b4d0425..a3c7334 100644 --- a/lib/helpers/account_helper.dart +++ b/lib/helpers/account_helper.dart @@ -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 changeAccountPassword( String token, String password) async => await APIRequest.withoutLogin("account/reset_user_passwd") - .addString("token", token) + .addString("reset_token", token) .addString("password", password) .execWithThrow();