diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 279d2c26..57d70c0d 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -194,7 +194,7 @@ export const muteClause = me => const subClause = (sub, num, table, me) => { return sub - ? `${table ? `"${table}".` : ''}"subName" = $${num}` + ? `${table ? `"${table}".` : ''}"subName" = $${num}::CITEXT` : me ? `NOT EXISTS (SELECT 1 FROM "MuteSub" WHERE "MuteSub"."userId" = ${me.id} AND "MuteSub"."subName" = ${table ? `"${table}".` : ''}"subName")` : ''