Skip to content

Commit

Permalink
set default salesChannel to empty string (#32044) (#32052)
Browse files Browse the repository at this point in the history
(cherry picked from commit f10554a)

Co-authored-by: Daniel Lew <51924260+DanielSLew@users.noreply.github.com>
  • Loading branch information
GatsbyJS Bot and DanielSLew committed Jun 23, 2021
1 parent a9ba549 commit f1cc7ff
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 f1cc7ff

Please sign in to comment.