Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

259 B
Raw Blame
import "server-only";

import { prisma } from "@rallly/database";

export async function getComment({ commentId }: { commentId: string }) {
  return prisma.comment.findUnique({
    where: { id: commentId },
    select: { pollId: true, userId: true },
  });
}