Skip to content

Commit

Permalink
chore: woopsy
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Feb 22, 2024
1 parent 2729405 commit 52488c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const prisma = new PrismaClient({

if (sqlString) {
if (args.length) {
for (let paramIndex = 1; paramIndex < args.length; paramIndex++) {
for (let paramIndex = 1; paramIndex <= args.length; paramIndex++) {
sqlString.replace(`$${paramIndex}`, JSON.stringify(args[paramIndex - 1]));
}

Expand Down

0 comments on commit 52488c7

Please sign in to comment.