♻️ Switch to app router (#922)

This commit is contained in:
Luke Vella 2023-11-06 09:15:49 +00:00 committed by GitHub
parent 41f85279bb
commit 95feb9f01a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
181 changed files with 2507 additions and 2494 deletions

View file

@ -143,11 +143,12 @@ async function main() {
},
});
[freeUser.id, proUser.id, proUserLegacy.id].forEach(async (userId) => {
await createPollsForUser(userId);
});
console.info(`Seeded data`);
await Promise.all(
[freeUser, proUser, proUserLegacy].map(async (user) => {
await createPollsForUser(user.id);
console.info(`✓ Added ${user.email}`);
}),
);
}
main()