diff options
author | Colin Okay <okay@toyful.space> | 2022-02-28 16:09:29 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2022-02-28 16:09:29 -0600 |
commit | 255853f8bd7ae22415fa079e5ded14c52179f761 (patch) | |
tree | 040fb3f2df718157de4cc76e386e86dcc795adce | |
parent | 10723dd63fd328e7764bd2386a7665240c6074ae (diff) |
signature nil by default; altered json output for contributor
-rw-r--r-- | src/main.lisp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.lisp b/src/main.lisp index 5dde475..7aba5af 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -49,7 +49,7 @@ (signature :accessor contributor-signature :initarg :signature - :initform "" + :initform nil :documentation "A short piece of contributor flair. May contain a url.") (salt :reader contributor-salt @@ -84,8 +84,8 @@ (defmethod json:%to-json ((obj contributor)) (json:with-object - (json:write-key-value "handle" (contributor-handle obj)) - (json:write-key-value "signature" (contributor-signature obj)))) + (json:write-key-value "HANDLE" (contributor-handle obj)) + (json:write-key-value "SIGNATURE" (contributor-signature obj)))) (defclass api-access (db:store-object) |