mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-09 23:16:51 +02:00
♻️ Switch to app router (#922)
This commit is contained in:
parent
41f85279bb
commit
95feb9f01a
181 changed files with 2507 additions and 2494 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue