Skip to content

Commit

Permalink
use string compare
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushgaud committed Nov 15, 2023
1 parent 9c35c9f commit 28e5943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wrike_ist/wrike.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
(let [parent-ids (-> response
(get-in ["data" 0 "parentIds"])
(or []))]
(.info js/console (str "Parent IDs: " parent-ids))
(if (some #(= title %) folder-names)
(.info js/console (str "Parent IDs: " parent-ids))
(if (some #(contains? title %) folder-names)
(do
(.info js/console (str "Match found for folder: " title))
(js/Promise.resolve true))
Expand Down

0 comments on commit 28e5943

Please sign in to comment.