Ensure postman doesn't try to send reminders with no channel

This commit is contained in:
jude 2023-08-19 21:28:05 +01:00
parent 109cf16dbb
commit ea3fe3f543

View File

@ -310,6 +310,7 @@ WHERE
reminders
WHERE
reminders.`utc_time` <= NOW() AND
reminders.`channel_id` NOT NULL AND
`status` = 'pending' AND
(
reminders.`interval_seconds` IS NOT NULL