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

Update category-exporter.md #1888

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update category-exporter.md #1888

wants to merge 1 commit into from

Conversation

annapostl
Copy link

We'd like to update the script for category exporter a bit, based on the issues the customer in this ticket https://commercetools.atlassian.net/browse/SUPPORT-24058 had.

@VineetKumarKushwaha please take a look and update anything you think should be updated about the script

We'd like to update the script for category exporter a bit, based on the issues the customer in this ticket https://commercetools.atlassian.net/browse/SUPPORT-24058 had.
Copy link

changeset-bot bot commented Dec 1, 2023

⚠️ No Changeset found

Latest commit: 0276470

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a4de02c) 94.75% compared to head (0276470) 94.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1888   +/-   ##
=======================================
  Coverage   94.75%   94.75%           
=======================================
  Files         147      147           
  Lines        5057     5057           
  Branches     1375     1375           
=======================================
  Hits         4792     4792           
  Misses        262      262           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -61,10 +61,10 @@ const options = {
apiConfig: {
apiUrl: 'https://api.europe-west1.gcp.commercetools.com'
host: 'https://auth.europe-west1.gcp.commercetools.com'
project_key: 'PROJECT_KEY',
project_key: '<ProjectKey>',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion is based on the code in the support ticket.

Suggested change
project_key: '<ProjectKey>',
projectKey: '<ProjectKey>',

Copy link
Contributor

@industrian industrian Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If projectKey: '<ProjectKey>' is correct, then we should probably check and update the code examples in other Exporter documents. I think they all use project_key: '<ProjectKey>'

clientId: '*********',
clientSecret: '*********'
clientId: '<clientId>',
clientSecret: '<clientSecret>'
}
},
accessToken: '123456yuhgfdwegh675412wefb4rgb',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion for consistency:

Suggested change
accessToken: '123456yuhgfdwegh675412wefb4rgb',
accessToken: '<accessToken>',

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.

2 participants