please accept my double quotes

This commit is contained in:
Michael C 2021-09-07 00:38:15 -04:00
parent 46270cfe84
commit 6b7fdb8d9e
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -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", `