aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-01 15:33:27 -0600
committerColin Okay <okay@toyful.space>2022-03-01 15:33:27 -0600
commite791efb22014a6dc67c4fbc7187f61284fe4d133 (patch)
tree5be5ce7cf3457cd57c6ec3bd3fa10f06b51f5ea4
parentd16811187075a23883ab8d6c387043c1481a3eb2 (diff)
elaborated a doc string. api version matches asdf version
-rw-r--r--src/main.lisp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.lisp b/src/main.lisp
index b6e0e3c..b143d60 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -376,7 +376,7 @@ started, this will allow remote live debugging of the system.
(lzb:provision-app ()
:title "Oneliners Wiki API"
- :version "0.0.1"
+ :version "0.2.0"
:prefix "/api"
:desc +oneliners-description+
:content-type "application/json"
@@ -631,7 +631,9 @@ contributor for making edits or adding new oneliners."
(current a-string)
(token an-api-token))
(:auth t)
- "Change a contributor's password."
+ "Change a contributor's password. CURRENT is the current
+password. VALUE is the new password. REPEATED must match VALUE. TOKEN
+is an API Access token."
(unless (or (eq who (api-contributor token))
(adminp (api-contributor token)))
(http-err 403 "Cannot change that password."))