Skip to content

Commit

Permalink
chore: 🤖 enable cron account cleaning warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpetrov committed Dec 8, 2023
1 parent a2302f5 commit c016653
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/dashboard/cron/account-cleaning-warning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ import prisma from '@chaindesk/prisma/client';
});

console.log('subscriptions', JSON.stringify(subscriptions, null, 2));
return;

let counter = 0;
await pMap(
subscriptions,
async (s, index) => {
async (s) => {
const email = s?.organization?.memberships?.[0].user?.email;

if (!email) {
Expand Down

1 comment on commit c016653

@vercel
Copy link

@vercel vercel bot commented on c016653 Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.