remove extra return

This commit is contained in:
Niten 2020-11-15 15:53:55 -08:00
parent 120b820d8e
commit 678bcc5d3d
1 changed files with 1 additions and 4 deletions

View File

@ -43,10 +43,7 @@
(cl-json:encode-json
`((STATUS . "OK")
(MESSAGE . ,message)
(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))))
(MSGID . ,msg-id)))))
(defmethod render-result ((res result/error))
(with-slots (message msg-id) res