chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5840a
)
some todos
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 12 Oct 2020 00:32:24 +0000
(
01:32
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 12 Oct 2020 00:32:24 +0000
(
01:32
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/api.rs
patch
|
blob
|
history
diff --git
a/src/api.rs
b/src/api.rs
index aadf34d866c72c94ad3d35d2307853a572988a75..233132956ad11ca6b6ad3df732323a9ef2e85051 100644
(file)
--- a/
src/api.rs
+++ b/
src/api.rs
@@
-199,7
+199,9
@@
struct ApiPieceWrest {
#[throws(OE)]
fn api_wrest(form : Json<ApiPiece<ApiPieceWrest>>)
-> impl response::Responder<'static> {
- // xxx wresting does not seem to work, maybe client isn't doing it?
+ // xxx wresting does not seem to work, maybe client isn't doing it?
+ // ony for held pieces; works for pinned ones
+ // xxx pinning should send to back
api_piece_op(form)
}
impl ApiPieceOp for ApiPieceWrest {