diff options
Diffstat (limited to 'scrumli.lisp')
-rw-r--r-- | scrumli.lisp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scrumli.lisp b/scrumli.lisp index 7c94dcf..362f4a5 100644 --- a/scrumli.lisp +++ b/scrumli.lisp @@ -212,3 +212,12 @@ (if (logged-in-p) (encode-json-to-string (get-story id)) 403)) + +(define-route scrumli-story-set-assignee ("story/assignee" + :content-type "json" + :method :post) + (if (logged-in-p) + (with-post-parameters ("id" "assignee") + (set-assignee 'story id assignee) + (encode-json-to-string '((status . "ok")))) + 403)) |