diff options
author | Colin Okay <okay@toyful.space> | 2022-03-24 16:41:31 -0500 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2022-03-24 16:41:31 -0500 |
commit | 43becacf9fdb0dd9aa4564bcf3bd1cadb53e4cef (patch) | |
tree | 9b672f7ac99dcf922eaa96c19caf97c5c5b91c23 | |
parent | 6e121bf2d80b5219af7a7c7b6055b370aa43c36c (diff) |
[bugfix] oneliner edit endpoint returns the updated entry as json
-rw-r--r-- | clpmfile.lock | 4 | ||||
-rw-r--r-- | src/main.lisp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clpmfile.lock b/clpmfile.lock index 4c43c1c..3f5fabc 100644 --- a/clpmfile.lock +++ b/clpmfile.lock @@ -67,9 +67,9 @@ ("hunchentoot")) ("ironclad" :version "2022-02-20" :source "quicklisp" :systems ("ironclad")) ("jonathan" :version "2020-09-25" :source "quicklisp" :systems ("jonathan")) -("lambda-riffs" :version (:commit "83b4f38ffb34dc39164024592e6a6a9743ae53f1") +("lambda-riffs" :version (:commit "2964006da06e8c5fb2a068f33611ae72cbf7baf0") :source :implicit-vcs :systems ("lambda-riffs")) -("lazybones" :version (:commit "02874f575215f9665d99943a79541d4f849d50c3") +("lazybones" :version (:commit "41075c2bde94bb43f07ee5598dc57965436634f6") :source :implicit-vcs :systems ("lazybones" "lazybones-hunchentoot")) ("lazybones-client" :version (:commit "d87613168212893714e17b4ab5feb3d9e9e16e0c") :source :implicit-vcs 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." |