Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Jul 30, 2021
1 parent aa08a37 commit e0b1a54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/gatsby-plugin-cms/src/gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ export const pluginOptionsSchema = ({ Joi }: PluginOptionsSchemaArgs) =>
workspace: Joi.string().required(),
environment: Joi.string()
.required()
.valid('vtexcommercestable')
.valid('vtexcommercebeta'),
.valid('vtexcommercestable', 'vtexcommercebeta'),
})

interface CollectionsByType {
Expand Down

0 comments on commit e0b1a54

Please sign in to comment.