aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-02-20 15:46:27 -0600
committerColin Okay <okay@toyful.space>2022-02-20 15:46:27 -0600
commit3c454b6c5888f329b8b6bed565273a695aa71c39 (patch)
tree9e2c0212cb9d7954d3a8d5703612f56516265aeb
parenta65de17ab2b6afa3e1f817168c79757cfce38159 (diff)
added an api token
-rw-r--r--src/main.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.lisp b/src/main.lisp
index d1b8faa..979752f 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -432,6 +432,10 @@
oneliner
(http-err 404)))
+(defun an-api-token (token)
+ "An api token"
+ token)
+
;;; ENDPOINT DEFINITIONS
(defendpoint* :post "/redeem/:invite an-invite-code:"