fix: wrong custom field

This commit is contained in:
Sebastian Rindom
2021-06-17 10:57:02 +02:00
parent 0d3e8f717d
commit 05bda956d9

View File

@@ -321,7 +321,7 @@ class ContentfulService extends BaseService {
const environment = await this.getContentfulEnvironment_() const environment = await this.getContentfulEnvironment_()
const fields = { const fields = {
[this.getCustomField("medusaId", "product")]: { [this.getCustomField("medusaId", "region")]: {
"en-US": r.id, "en-US": r.id,
}, },
[this.getCustomField("name", "region")]: { [this.getCustomField("name", "region")]: {