Skip to content

Commit

Permalink
fix: don't validate api_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Feb 20, 2024
1 parent 156ae39 commit a3e4bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const requestsFilterSchema = z.object({
export type RequestsFilter = z.infer<typeof requestsFilterSchema>;

export const newRequestSchema = z.object({
api_key: z.string().min(1),
api_key: z.any(),
test: testObjectSchema,
environments: z.array(environmentSchema).optional(),
notification: notificationSchema.optional().nullable(),
Expand Down Expand Up @@ -196,7 +196,7 @@ export const requestSchema = z.object({
export type Request = z.infer<typeof requestSchema>;

export const cancelRequestSchema = z.object({
api_key: z.string().min(1),
api_key: z.any(),
});

export type CancelRequest = z.infer<typeof cancelRequestSchema>;
Expand Down

0 comments on commit a3e4bf7

Please sign in to comment.