From 983c785029eb150f9c18d785fb4c2bc9ee48f7f7 Mon Sep 17 00:00:00 2001 From: Collin Duncan <3679940+cgduncan7@users.noreply.github.com> Date: Mon, 30 Jan 2023 08:59:06 +0100 Subject: [PATCH] Changing $ to ? for SQL prepared statement --- src/common/reservation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/reservation.ts b/src/common/reservation.ts index 887e8a8..2dd08c7 100644 --- a/src/common/reservation.ts +++ b/src/common/reservation.ts @@ -166,7 +166,7 @@ export class Reservation { await run( ` DELETE FROM reservations - WHERE id = $ + WHERE id = ? `, [res.id] )