Skip to content

Commit

Permalink
chore: made errors optional
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 23, 2024
1 parent 45c9ae4 commit 4fd3ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/types/state-validation-payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const validationErrorSchema = Type.Object({

export const pluginValidationResponseSchema = Type.Object({
message: Type.String(),
errors: Type.Array(validationErrorSchema),
errors: Type.Optional(Type.Array(validationErrorSchema)),
});

export type StateValidation = StaticDecode<typeof stateValidationSchema>;

0 comments on commit 4fd3ea6

Please sign in to comment.