s/when/if

This commit is contained in:
niten 2023-05-18 14:21:55 -07:00
parent 56d52a5beb
commit f185391ed2
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
(if note-msg
(let [note (:payload note-msg)]
(if (t/validate Notification note)
(when (>= (:urgency note) urgency-threshold)
(if (>= (:urgency note) urgency-threshold)
(notify/send-notification! mqtt-client
(-> note
(assoc :app app)