This commit is contained in:
Atridad Lahiji 2023-07-12 21:46:03 -06:00
parent 236475ed38
commit 7f0ce2adbb
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View file

@ -3,7 +3,6 @@ import { publishToChannel } from "~/server/ably";
import { createTRPCRouter, protectedProcedure } from "~/server/api/trpc";
import { fetchCache, invalidateCache, setCache } from "~/server/redis";
import { env } from "~/env.mjs";
export const roomRouter = createTRPCRouter({
// Create

View file

@ -4,7 +4,6 @@ import { publishToChannel } from "~/server/ably";
import type { Room } from "@prisma/client";
import { createTRPCRouter, protectedProcedure } from "~/server/api/trpc";
import { fetchCache, invalidateCache, setCache } from "~/server/redis";
import { env } from "~/env.mjs";
export const voteRouter = createTRPCRouter({
countAll: protectedProcedure.query(async ({ ctx }) => {