"use server"; import { Prisma, prisma } from "@repo/db"; export const editReport = async ( id: number, data: Prisma.ReportUncheckedUpdateInput, ) => { return await prisma.report.update({ where: { id: id, }, data, }); };