mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 02:55:38 +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 { unauthorized, json, badRequest } from '@/lib/response';
|
|||
import { canAddUserToTeam, canViewTeam } from '@/permissions';
|
||||
import { getQueryFilters, parseRequest } from '@/lib/request';
|
||||
import { pagingParams, teamRoleParam, searchParams } from '@/lib/schema';
|
||||
import { createTeamUser, getTeamUser, getTeamUsers } from '@/queries';
|
||||
import { createTeamUser, getTeamUser, getTeamUsers } from '@/queries/prisma';
|
||||
|
||||
export async function GET(request: Request, { params }: { params: Promise<{ teamId: string }> }) {
|
||||
const schema = z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue