This commit is contained in:
Atridad Lahiji 2023-08-20 17:01:15 -06:00
parent 010955d77b
commit 116f90708e
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`);