From 844ac842736707427560a205de477ace96f568c0 Mon Sep 17 00:00:00 2001 From: Lennart Date: Thu, 28 Jan 2021 12:33:24 +0100 Subject: [PATCH] fix(gatsby-plugin-manifest): Fix `or` Joi assertion (#29242) --- .../gatsby-plugin-manifest/src/pluginOptionsSchema.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js b/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js index 7b4a3a5c499c1..0cbbe47ac29f1 100644 --- a/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js +++ b/packages/gatsby-plugin-manifest/src/pluginOptionsSchema.js @@ -93,13 +93,10 @@ export default function pluginOptionSchema({ Joi }) { platform: platform.required(), url: Joi.string() .uri() - .required() .description(`The URL at which the application can be found.`), - id: Joi.string() - .required() - .description( - `The ID used to represent the application on the specified platform.` - ), + id: Joi.string().description( + `The ID used to represent the application on the specified platform.` + ), min_version: Joi.string() .optional() .description(