From 43becacf9fdb0dd9aa4564bcf3bd1cadb53e4cef Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Thu, 24 Mar 2022 16:41:31 -0500 Subject: [bugfix] oneliner edit endpoint returns the updated entry as json --- src/main.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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." -- cgit v1.2.3