Skip to content

Commit

Permalink
add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushgaud committed Nov 14, 2023
1 parent 4d410fe commit b63f22e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/wrike_ist/wrike.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@
(let [folder-names (clojure.string/split folder-names #"\s+")
matching-folders (filter #(contains? folder-names (:title %)) folders)]
(if (seq matching-folders)
(map :id matching-folders)
[])))))))
(do
(.info js/console (str "get-folder-id: Matching folders found: " matching-folders))
(map :id matching-folders))
(do
(.info js/console "get-folder-id: No matching folders found")
[]))))))))

(defn fetch-wrike-task [task-id]
(let [task-url (str "https://www.wrike.com/api/v4/tasks/" task-id)
Expand Down

0 comments on commit b63f22e

Please sign in to comment.