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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 => { |
|
|
|