-
Notifications
You must be signed in to change notification settings - Fork 336
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 contentful client to use system id #1088
Conversation
🦋 Changeset detectedLatest commit: e9e5d21 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
10 Ignored Deployments
|
@@ -41,7 +41,9 @@ export class ContentfulBulkSyncProcessor implements BulkSyncProcessor { | |||
}, | |||
}) | |||
.then((r) => { | |||
if (r?.metadata) { | |||
const resp = Array.isArray(r) ? r[0] : r; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Please comment why taking the first element is justified here.
Scope of the PR
Fixes #1086
docs saleor/saleor-docs#1015
Related issues
Checklist