Oops!
This commit is contained in:
parent
a88ee93426
commit
0e2c73d004
1 changed files with 1 additions and 1 deletions
|
@ -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`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue