Skip to content

Commit

Permalink
set default salesChannel to empty string (#32044)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSLew committed Jun 22, 2021
1 parent 861a56d commit f10554a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-shopify/src/gatsby-node.ts
Expand Up @@ -43,7 +43,7 @@ export function pluginOptionsSchema({
.default([])
.items(Joi.string().valid(`orders`, `collections`)),
salesChannel: Joi.string().default(
process.env.GATSBY_SHOPIFY_SALES_CHANNEL
process.env.GATSBY_SHOPIFY_SALES_CHANNEL || ``
),
})
}
Expand Down

0 comments on commit f10554a

Please sign in to comment.