Skip to content

Commit

Permalink
fix: fix typo in v2 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
amk-dev committed Mar 19, 2024
1 parent 2686603 commit e039609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hoppscotch-data/src/rest/v/2.ts
Expand Up @@ -18,7 +18,7 @@ export const HoppRESTRequestVariables = z.array(

export type HoppRESTRequestVariables = z.infer<typeof HoppRESTRequestVariables>

export const V2_SCHEMA = z.object({
export const V2_SCHEMA = V1_SCHEMA.extend({
v: z.literal("2"),
requestVariables: HoppRESTRequestVariables,
})
Expand Down

0 comments on commit e039609

Please sign in to comment.