summaryrefslogtreecommitdiff
path: root/site/session.lisp
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2024-06-23 17:19:06 -0500
committerGrant Shangreaux <grant@unabridgedsoftware.com>2024-06-23 17:19:06 -0500
commitb0115ef82880db63239c6532bb3b63d86b7658cb (patch)
tree16a429c4c95fec3c0e6d4c2a60543d870494f7d9 /site/session.lisp
parent68d30b9c81c4e099e0111fe0bbb33715dd572e8c (diff)
[109] Clean: use VERB.NOUN form for session endpoints
Diffstat (limited to 'site/session.lisp')
-rw-r--r--site/session.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/session.lisp b/site/session.lisp
index 342d6d0..af02947 100644
--- a/site/session.lisp
+++ b/site/session.lisp
@@ -1,6 +1,6 @@
(in-package #:vampire)
-(wknd:defendpoint session.create
+(wknd:defendpoint create.session
:post :to "login"
:parameters
(name string)
@@ -20,7 +20,7 @@
(print session)
(wknd:set-cookie +session-cookie+ :value (key session))))
-(wknd:defendpoint session.destroy
+(wknd:defendpoint destroy.session
:using user-known
:post :to "logout"
:handle (do>