Skip to content

Commit e7ca316

Browse files
committed
Update addProperties.ts
1 parent b2a5482 commit e7ca316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/addProperties.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const addProperties = async ({ request, reply }) => {
3535

3636
await db.connect();
3737
const id = (await db.query(`
38-
INSERT INTO "properties" ("user_id", "name") VALUES ($1, $2, $3, $4) RETURNING "id"
38+
INSERT INTO "properties" ("user_id", "name") VALUES ($1, $2) RETURNING "id"
3939
`, [
4040
jwtClaims.sub,
4141
request.body.propertyName,

0 commit comments

Comments
 (0)