aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.lisp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.lisp b/src/main.lisp
index e918b1b..c32f202 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -493,7 +493,7 @@ have exceeded the invite limit."
(defendpoint* :post "/add-oneliner" ()
(:auth t)
- "Make a new [oneliner](#oneliner-post-body)."
+ "Make a new [oneliner](#oneliner)."
(make-new-oneliner (request-contributor) (lzb:request-body))
"true")
@@ -532,7 +532,9 @@ admin privileges are allowed to perform this action."
(limit an-int)
(notflagged a-boolean))
()
- "A search endpoint returning a JSON encoded array of Oneliner Entries. TAGS cannot be empty."
+ "A search endpoint returning a JSON encoded array of Oneliner
+Entries. TAGS cannot be empty. Returns a [Search
+Result](#search-result) object."
(if tags
(to-json
(list :oneliners (query-oneliners :tags tags