Ensure postman doesn't try to send reminders with no channel
This commit is contained in:
parent
109cf16dbb
commit
ea3fe3f543
@ -310,6 +310,7 @@ WHERE
|
|||||||
reminders
|
reminders
|
||||||
WHERE
|
WHERE
|
||||||
reminders.`utc_time` <= NOW() AND
|
reminders.`utc_time` <= NOW() AND
|
||||||
|
reminders.`channel_id` NOT NULL AND
|
||||||
`status` = 'pending' AND
|
`status` = 'pending' AND
|
||||||
(
|
(
|
||||||
reminders.`interval_seconds` IS NOT NULL
|
reminders.`interval_seconds` IS NOT NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user