aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-04 16:17:40 -0600
committerColin Okay <okay@toyful.space>2022-03-04 16:17:40 -0600
commit747a3661c9b1fa7974a92ca2d6f7a985bf353351 (patch)
treed3740fe672514a1430546733dc7387f45e6f7d99 /src
parenta9a5e994b2434921c7bd1f6466b3a0c1f1cd0b6b (diff)
including name into oneliner response json body
Diffstat (limited to 'src')
-rw-r--r--src/main.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.lisp b/src/main.lisp
index 573f622..5e8bb5d 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -176,10 +176,11 @@
(with-slots
(db::id oneliner tags brief explanation
created-at edited-at last-edited-by created-by
- flagged-by audited-by lockedp runstyle)
+ flagged-by audited-by lockedp runstyle name)
instance
(json:with-object
(json:write-key-value :id db::id)
+ (json:write-key-value :name (if name name :false))
(json:write-key-value :oneliner oneliner)
(json:write-key-value :tags tags)
(json:write-key-value :brief brief)