This commit is contained in:
Atridad Lahiji 2023-08-20 17:01:15 -06:00 committed by atridadl
parent a88ee93426
commit 0e2c73d004
No known key found for this signature in database

View file

@ -54,7 +54,7 @@ export const voteRouter = createTRPCRouter({
}, },
}); });
let success = upsertResult.rowCount > 0; const success = upsertResult.rowCount > 0;
if (success) { if (success) {
await invalidateCache(`kv_votecount`); await invalidateCache(`kv_votecount`);