mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
Split queries into prisma and sql.
This commit is contained in:
parent
1a66e3df73
commit
b9fbbc6453
69 changed files with 117 additions and 115 deletions
|
|
@ -3,7 +3,7 @@ import { canUpdateWebsite, canDeleteWebsite, canViewWebsite } from '@/permission
|
|||
import { SHARE_ID_REGEX } from '@/lib/constants';
|
||||
import { parseRequest } from '@/lib/request';
|
||||
import { ok, json, unauthorized, serverError, badRequest } from '@/lib/response';
|
||||
import { deleteWebsite, getWebsite, updateWebsite } from '@/queries';
|
||||
import { deleteWebsite, getWebsite, updateWebsite } from '@/queries/prisma';
|
||||
|
||||
export async function GET(
|
||||
request: Request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue