Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generateSitemap returning Access Denied #353

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

loan-laux
Copy link
Contributor

@loan-laux loan-laux commented Feb 25, 2021

Signed-off-by: Loan Laux loan@outgrow.io

Resolves #318
Impact: critical
Type: bugfix

Issue

The "Generate Sitemap" button in the Shop settings, which calls the generateSitemap mutation, always results in an Access Denied error being returned. This is because the shopId is not passed when calling the mutation.

Solution

Pass shopId when calling generateSitemap.

Breaking changes

None.

Testing

  1. Go to Settings > Shop.
  2. Click "Generate Sitemap" and ensure that no error is thrown.

Signed-off-by: Loan Laux <loan@outgrow.io>
@Akarshit Akarshit merged commit a6b0f22 into reactioncommerce:trunk Feb 26, 2021
@Akarshit Akarshit mentioned this pull request Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refresh Sitemap GraphQL Access Error
2 participants