also disable authenticated check for update quantity

This commit is contained in:
Bart Akeley 2018-08-25 15:32:40 -05:00
parent ce36fafd29
commit 0d4d389854

View file

@ -54,7 +54,7 @@
"get the latest quantity for a food item"
[req]
(let [{{foodItemId :foodItemId quantity :quantity} :body} req]
(if-not (authenticated? req) (throw-unauthorized))
;(if-not (authenticated? req) (throw-unauthorized))
(println "/quantity ---->" foodItemId quantity)
(json/write-str
(insert-quantity {:foodItemId foodItemId :quantity quantity})