Browse Source

Update daemon/src/routes_taker.rs

Co-authored-by: Daniel Karzel <daniel.karzel@coblox.tech>
fix/sql-oddness
Mariusz Klochowicz 3 years ago
committed by GitHub
parent
commit
a591c166e8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      daemon/src/routes_taker.rs

2
daemon/src/routes_taker.rs

@ -139,7 +139,7 @@ pub async fn post_cfd_action(
| CfdAction::AcceptRollOver
| CfdAction::RejectRollOver => {
return Err(HttpApiProblem::new(StatusCode::BAD_REQUEST)
.detail("taker cannot invoke this actions"));
.detail(format!("taker cannot invoke action {}", action)));
}
CfdAction::Commit => cfd_action_channel.send(Commit { order_id: id }),
CfdAction::Settle => {

Loading…
Cancel
Save