Skip to content

Commit

Permalink
Update addProperties.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Dec 20, 2024
1 parent b2a5482 commit e7ca316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/addProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const addProperties = async ({ request, reply }) => {

await db.connect();
const id = (await db.query(`
INSERT INTO "properties" ("user_id", "name") VALUES ($1, $2, $3, $4) RETURNING "id"
INSERT INTO "properties" ("user_id", "name") VALUES ($1, $2) RETURNING "id"
`, [
jwtClaims.sub,
request.body.propertyName,
Expand Down

0 comments on commit e7ca316

Please sign in to comment.