Skip to content

Commit

Permalink
fix: adding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbayareametro committed Feb 4, 2025
1 parent c1e9b27 commit eab7778
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/prisma/seed-staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,11 @@ export const stagingSeed = async (
}
},
);
const adminAccounts: number = process.env.ADMIN_ACCOUNTS != undefined ? Number(process.env.ADMIN_ACCOUNTS) : 1
// Creating a bunch of admin accounts if the environment variable is set to do load testing
const adminAccounts: number =
process.env.ADMIN_ACCOUNTS != undefined
? Number(process.env.ADMIN_ACCOUNTS)
: 1;
for (let i = 0; i < adminAccounts; i++) {
await prismaClient.userAccounts.create({
data: await userFactory({
Expand Down

0 comments on commit eab7778

Please sign in to comment.