mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 08:12:12 +11:00
AdminChangePass must return when success
This commit is contained in:
parent
df5dae02d0
commit
2f699e70c8
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ void api::AdminChangePassword(req_args) const
|
|||
StrFromSV_Wrapper name_val(name.value());
|
||||
StrFromSV_Wrapper pass_val(pass.value());
|
||||
bank.ChangePassword(name_val.str, std::move(pass_val.str));
|
||||
res = BankResponse{k204NoContent, std::nullopt};
|
||||
}
|
||||
}
|
||||
RESPONSE_PARSE(std::move(res));
|
||||
|
|
|
|||
Loading…
Reference in a new issue