We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a5482 commit e7ca316Copy full SHA for e7ca316
src/routes/addProperties.ts
@@ -35,7 +35,7 @@ export const addProperties = async ({ request, reply }) => {
35
36
await db.connect();
37
const id = (await db.query(`
38
- INSERT INTO "properties" ("user_id", "name") VALUES ($1, $2, $3, $4) RETURNING "id"
+ INSERT INTO "properties" ("user_id", "name") VALUES ($1, $2) RETURNING "id"
39
`, [
40
jwtClaims.sub,
41
request.body.propertyName,
0 commit comments