fix(lisp): Don't intern symbols for unregistered tasks
This commit is contained in:
parent
02a34a14a0
commit
db0e74fbd0
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ maximum interval."
|
|||
(hunchentoot:define-easy-handler
|
||||
(complete-task-handler :uri "/complete") (task)
|
||||
(setf (hunchentoot:content-type*) "application/json")
|
||||
(let* ((key (intern (camel-case-to-lisp task) "GEMMA")))
|
||||
(let* ((key (find-symbol (camel-case-to-lisp task) "GEMMA")))
|
||||
(format t "Marking task ~A as completed" key)
|
||||
(complete-task key)
|
||||
(encode-json-to-string (response-for (get-task key))))))
|
||||
|
|
Loading…
Reference in a new issue