Skip to content

Commit

Permalink
fix(schema): add nullable to body in pullRequestSchema (#47)
Browse files Browse the repository at this point in the history
fixes #46
  • Loading branch information
Hagith authored Dec 4, 2024
1 parent 088d4e0 commit 5c95b2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47067,7 +47067,7 @@ var pullRequestSchema = objectType({
ref: stringType()
}),
state: stringType(),
body: stringType().optional()
body: stringType().optional().nullable()
});

// src/inputs.ts
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const pullRequestSchema = object({
ref: string(),
}),
state: string(),
body: string().optional(),
body: string().optional().nullable(),
})
export type PullRequest = InferType<typeof pullRequestSchema>

Expand Down

0 comments on commit 5c95b2a

Please sign in to comment.