Changing $ to ? for SQL prepared statement

This commit is contained in:
Collin Duncan 2023-01-30 08:59:06 +01:00
parent b2ccbc2f7d
commit 983c785029
No known key found for this signature in database

View file

@ -166,7 +166,7 @@ export class Reservation {
await run(
`
DELETE FROM reservations
WHERE id = $
WHERE id = ?
`,
[res.id]
)