Skip to content

Commit

Permalink
if not set condition, force true
Browse files Browse the repository at this point in the history
  • Loading branch information
avelino committed Apr 8, 2024
1 parent 1692499 commit 4dfe498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/moclojer/webhook.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"after a delay call http-request, return body"
[{:keys [url method body headers sleep-time condition]
:or {headers {}
condition true
; in milliseconds, 1 minute is 60000 milliseconds
sleep-time 60}}]
(let [req {:url url
Expand Down

0 comments on commit 4dfe498

Please sign in to comment.