mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Fixed reports.
This commit is contained in:
parent
3e9cb66db2
commit
530d6fb323
12 changed files with 59 additions and 33 deletions
|
|
@ -5,11 +5,7 @@ import { parseRequest } from 'lib/request';
|
|||
import { deleteTeam, getTeam, updateTeam } from 'queries';
|
||||
|
||||
export async function GET(request: Request, { params }: { params: Promise<{ teamId: string }> }) {
|
||||
const schema = z.object({
|
||||
teamId: z.string().uuid(),
|
||||
});
|
||||
|
||||
const { auth, error } = await parseRequest(request, schema);
|
||||
const { auth, error } = await parseRequest(request);
|
||||
|
||||
if (error) {
|
||||
return error();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue