summaryrefslogtreecommitdiff
path: root/service/home-service.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'service/home-service.lisp')
-rw-r--r--service/home-service.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/home-service.lisp b/service/home-service.lisp
index 2685264..5379a9f 100644
--- a/service/home-service.lisp
+++ b/service/home-service.lisp
@@ -13,6 +13,6 @@
(setf (content home-service) (format nil "Welcome to the ~a website" (title *webapp*))))
(defun home-json (&optional message errormsg)
- (org-ckons-json::objects-to-json `(,(make-instance 'home-service
- :message message
- :errormsg errormsg))))
+ (with-noauth (instance home-service)
+ (when message (setf (message instance) message))
+ (when errormsg (setf (errormsg instance) errormsg))))