From 0d4d389854cb04ae25e24039f5768d67909bb337 Mon Sep 17 00:00:00 2001 From: Bart Akeley Date: Sat, 25 Aug 2018 15:32:40 -0500 Subject: [PATCH] also disable authenticated check for update quantity --- src/aretherecookies/handler.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aretherecookies/handler.clj b/src/aretherecookies/handler.clj index f1a6345..060ada6 100644 --- a/src/aretherecookies/handler.clj +++ b/src/aretherecookies/handler.clj @@ -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})