mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-09-19 05:48:54 +00:00
Fix conflict
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user