Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushgaud committed Nov 15, 2023
1 parent 57cb436 commit 9baaecc
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/wrike_ist/wrike.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,18 @@
:plainText false})]
(http/post uri {:headers (headers)
:body (js/JSON.stringify params)}))))
(.then #(.log js/console (str "link-pr: PR link sent to task")))
(.then
(fn [_]
(.log js/console (str "link-pr: PR link sent to task"))
(js/Promise.resolve)))
(.catch
#(if (= % :present)
(.log js/console (str "link-pr: PR link already in comments"))
(js/Promise.resolve %)))))))
(js/Promise.reject %)))))))
(.then
(fn [_]
(js/Promise.all [check-valid-task-promise]))
(.catch #(js/Promise.reject %))))))




(js/Promise.all [check-valid-task-promise])))
(.catch #(js/Promise.reject %)))))

(defn folder-statuses
[folder-id]
Expand Down

0 comments on commit 9baaecc

Please sign in to comment.