mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
add api-testing to cypress tests
This commit is contained in:
parent
abde966647
commit
a407ff4693
13 changed files with 598 additions and 46 deletions
|
|
@ -33,7 +33,7 @@ export async function POST(
|
|||
const schema = z.object({
|
||||
name: z.string(),
|
||||
domain: z.string(),
|
||||
shareId: z.string().regex(SHARE_ID_REGEX).nullable(),
|
||||
shareId: z.string().regex(SHARE_ID_REGEX).nullable().optional(),
|
||||
});
|
||||
|
||||
const { auth, body, error } = await parseRequest(request, schema);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue