-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace rest with graphql in the access scope query, add cache
- Loading branch information
Showing
4 changed files
with
96 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{ | ||
"access_scopes": [ | ||
{ | ||
"handle": "read_products" | ||
}, | ||
{ | ||
"handle": "write_products" | ||
"data": { | ||
"currentAppInstallation": { | ||
"accessScopes": [ | ||
{ | ||
"handle": "write_products" | ||
}, | ||
{ | ||
"handle": "read_products" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{ | ||
"errors": [ | ||
{ | ||
"message": "Could not get access copes" | ||
"data": { | ||
"currentAppInstallation": { | ||
"accessScopes": [], | ||
"userErrors": { | ||
"message": "Could not get access copes" | ||
} | ||
} | ||
] | ||
} | ||
} |