aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-24 16:41:31 -0500
committerColin Okay <okay@toyful.space>2022-03-24 16:41:31 -0500
commit43becacf9fdb0dd9aa4564bcf3bd1cadb53e4cef (patch)
tree9b672f7ac99dcf922eaa96c19caf97c5c5b91c23 /src
parent6e121bf2d80b5219af7a7c7b6055b370aa43c36c (diff)
[bugfix] oneliner edit endpoint returns the updated entry as json
Diffstat (limited to 'src')
-rw-r--r--src/main.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.lisp b/src/main.lisp
index abf5405..f0c2ea5 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -809,7 +809,7 @@ admin privileges are allowed to perform this action."
(http-err 403))
(validate-oneliner-edit-plist (lzb:request-body))
(apply 'edit-oneliner entry (api-contributor token) (lzb:request-body))
- "true")
+ (to-json entry))
(defendpoint* :get "/oneliner/:entry a-oneliner-id:" () ()
"Gets a oneliner by id."