We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 892cf75 commit a3364c1Copy full SHA for a3364c1
src/server/handler/account.rs
@@ -49,7 +49,7 @@ async fn put_account(
49
path_params: web::Path<(i64,)>,
50
) -> impl Responder {
51
let account_id = AccountId::new(path_params.into_inner().0);
52
- match usecase::account::put_account(&mut data.account_repository(), request, &account_id) {
+ match usecase::account::put_account(&mut data.account_repository(), &request, &account_id) {
53
Ok(_) => HttpResponse::Ok().finish(),
54
Err(err) => {
55
HttpResponse::InternalServerError().json(format!("Internal Server Error {}", err))
0 commit comments