diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2024-06-23 17:19:06 -0500 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2024-06-23 17:19:06 -0500 |
commit | b0115ef82880db63239c6532bb3b63d86b7658cb (patch) | |
tree | 16a429c4c95fec3c0e6d4c2a60543d870494f7d9 /site/session.lisp | |
parent | 68d30b9c81c4e099e0111fe0bbb33715dd572e8c (diff) |
[109] Clean: use VERB.NOUN form for session endpoints
Diffstat (limited to 'site/session.lisp')
-rw-r--r-- | site/session.lisp | 4 |
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> |