From 6b7fdb8d9e26b7cc181362c198b2f518b2a98567 Mon Sep 17 00:00:00 2001 From: Michael C Date: Tue, 7 Sep 2021 00:38:15 -0400 Subject: [PATCH] please accept my double quotes --- src/routes/getUserStats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/getUserStats.ts b/src/routes/getUserStats.ts index a1afc62..706804a 100644 --- a/src/routes/getUserStats.ts +++ b/src/routes/getUserStats.ts @@ -22,8 +22,8 @@ async function dbGetUserSummary(userID: HashedUserID, categoryStats: boolean, ty } if (typeStats) { additionalQuery += ` - SUM(CASE WHEN actionType = 'skip' THEN 1 ELSE 0 END) as 'typeSumSkip', - SUM(CASE WHEN actionType = 'mute' THEN 1 ELSE 0 END) as 'typeSumMute',`; + SUM(CASE WHEN actionType = 'skip' THEN 1 ELSE 0 END) as "typeSumSkip", + SUM(CASE WHEN actionType = 'mute' THEN 1 ELSE 0 END) as "typeSumMute",`; } try { const row = await db.prepare("get", `