Changing $ to ? for SQL prepared statement
This commit is contained in:
parent
b2ccbc2f7d
commit
983c785029
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ export class Reservation {
|
||||||
await run(
|
await run(
|
||||||
`
|
`
|
||||||
DELETE FROM reservations
|
DELETE FROM reservations
|
||||||
WHERE id = $
|
WHERE id = ?
|
||||||
`,
|
`,
|
||||||
[res.id]
|
[res.id]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue