Skip to content

Commit

Permalink
Add missing parser
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-neti committed Nov 14, 2024
1 parent ff399e1 commit cfb5768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fplus-http-server/src/router/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ pub async fn approve(
.await
{
Ok(_) => HttpResponse::Ok().body(serde_json::to_string_pretty("Success").unwrap()),
Err(e) => HttpResponse::BadRequest().body(e),
Err(e) => HttpResponse::BadRequest().body(e.to_string()),
}
}

Expand Down

0 comments on commit cfb5768

Please sign in to comment.