remove extra return
This commit is contained in:
parent
120b820d8e
commit
678bcc5d3d
|
@ -43,10 +43,7 @@
|
||||||
(cl-json:encode-json
|
(cl-json:encode-json
|
||||||
`((STATUS . "OK")
|
`((STATUS . "OK")
|
||||||
(MESSAGE . ,message)
|
(MESSAGE . ,message)
|
||||||
(MSGID . ,msg-id)))
|
(MSGID . ,msg-id)))))
|
||||||
(let ((msg (if message (format nil ":~A" message) ""))
|
|
||||||
(msgid (if msg-id (format nil " (~A)" msg-id) "")))
|
|
||||||
(format nil "OK~A~A" msgid msg))))
|
|
||||||
|
|
||||||
(defmethod render-result ((res result/error))
|
(defmethod render-result ((res result/error))
|
||||||
(with-slots (message msg-id) res
|
(with-slots (message msg-id) res
|
||||||
|
|
Loading…
Reference in New Issue