Skip to content

Commit 1f28410

Browse files
talygurynCopilot
andauthored
Update workers/paymaster/src/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 45a8dce commit 1f28410

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workers/paymaster/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export default class PaymasterWorker extends Worker {
283283
*/
284284
if (workspace.isBlocked) {
285285
// Send reminders on certain days after block
286-
if (DAYS_AFTER_BLOCK_TO_REMIND.includes(daysAfterBlock)) {
286+
if (daysAfterBlock !== undefined && DAYS_AFTER_BLOCK_TO_REMIND.includes(daysAfterBlock)) {
287287
await this.sendBlockedWorkspaceReminders(workspace, daysAfterBlock);
288288
}
289289

0 commit comments

Comments
 (0)