Skip to content

Commit 844ac84

Browse files
authored
fix(gatsby-plugin-manifest): Fix or Joi assertion (#29242)
1 parent fb38f8a commit 844ac84

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,10 @@ export default function pluginOptionSchema({ Joi }) {
9393
platform: platform.required(),
9494
url: Joi.string()
9595
.uri()
96-
.required()
9796
.description(`The URL at which the application can be found.`),
98-
id: Joi.string()
99-
.required()
100-
.description(
101-
`The ID used to represent the application on the specified platform.`
102-
),
97+
id: Joi.string().description(
98+
`The ID used to represent the application on the specified platform.`
99+
),
103100
min_version: Joi.string()
104101
.optional()
105102
.description(

0 commit comments

Comments
 (0)