mirror of
https://gitlab.com/wheres-the-tp/server.git
synced 2026-01-25 06:14:55 -06:00
also disable authenticated check for update quantity
This commit is contained in:
parent
ce36fafd29
commit
0d4d389854
1 changed files with 1 additions and 1 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue