Split queries into prisma and sql.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { parseRequest } from '@/lib/request';
|
||||
import { deleteReport, getReport, updateReport } from '@/queries';
|
||||
import { deleteReport, getReport, updateReport } from '@/queries/prisma';
|
||||
import { canDeleteReport, canUpdateReport, canViewReport } from '@/permissions';
|
||||
import { unauthorized, json, notFound, ok } from '@/lib/response';
|
||||
import { reportSchema } from '@/lib/schema';
|
||||
|
||||
Reference in New Issue
Block a user