aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.lisp6
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)