mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +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
|
|
@ -5,7 +5,7 @@ import { ROLES } from '@/lib/constants';
|
|||
import { uuid } from '@/lib/crypto';
|
||||
import { parseRequest } from '@/lib/request';
|
||||
import { unauthorized, json, badRequest } from '@/lib/response';
|
||||
import { createUser, getUserByUsername } from '@/queries';
|
||||
import { createUser, getUserByUsername } from '@/queries/prisma';
|
||||
|
||||
export async function POST(request: Request) {
|
||||
const schema = z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue