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