Skip to content

Commit 7d2d7cb

Browse files
Update prod (#388)
1 parent d473200 commit 7d2d7cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

workers/paymaster/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,8 @@ export default class PaymasterWorker extends Worker {
235235
if (!isTimeToPay) {
236236
/**
237237
* If payday is coming for the paid plans then notify admins
238-
*
239-
* @todo do not notify if card is linked?
240238
*/
241-
if (DAYS_LEFT_ALERT.includes(daysLeft) && !isFreePlan) {
239+
if (DAYS_LEFT_ALERT.includes(daysLeft) && !isFreePlan && !workspace.subscriptionId) {
242240
/**
243241
* Add task for Sender worker
244242
*/

0 commit comments

Comments
 (0)