Skip to content

Commit

Permalink
Merge pull request #3453 from Shopify/move-fix-sending-empty-scopes
Browse files Browse the repository at this point in the history
Move fix sending empty scopes
  • Loading branch information
alvaro-shopify committed Feb 20, 2024
2 parents af875b6 + bc7e502 commit d81d0da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tiny-eels-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/app': patch
---

Fix sending empty scopes
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const AppAccessSchema = zod.object({
.object({
scopes: zod
.string()
.transform((scopes) => normalizeDelimitedString(scopes))
.transform((scopes) => normalizeDelimitedString(scopes) ?? '')
.optional(),
use_legacy_install_flow: zod.boolean().optional(),
})
Expand Down

0 comments on commit d81d0da

Please sign in to comment.