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();