Skip to content

Commit

Permalink
fix: update password
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Mar 15, 2024
1 parent 3a48823 commit b399850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bloc/tiphereth/tiphereth_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TipherethBloc extends Bloc<TipherethEvent, TipherethState> {
emit(TipherethEditUserState(state, EventStatus.processing));
final resp = await _api.doRequest(
(client) => client.updateUser,
UpdateUserRequest(user: event.user),
UpdateUserRequest(user: event.user, password: event.password),
);
if (resp.status != ApiStatus.success) {
emit(
Expand Down

0 comments on commit b399850

Please sign in to comment.