Skip to content

Commit 1b87f1b

Browse files
author
markzegarelli
authored
Merge branch 'master' into develop
2 parents 933d978 + 4fcca95 commit 1b87f1b

File tree

6 files changed

+350
-352
lines changed

6 files changed

+350
-352
lines changed

scripts/catalog_papi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const doesCatalogItemExist = (item) => {
123123
if (item.status === 'PUBLIC_BETA') {
124124
betaFlag = 'beta: true\n'
125125
}
126-
content = `---\ntitle: '${item.display_name} Destination'\nhidden: true\npublished: false\n${betaFlag}---\n`
126+
content = `---\ntitle: '${item.display_name} Destination'\nhidden: true\nid: ${item.id}published: false\n${betaFlag}---\n`
127127
}
128128
fs.mkdirSync(docsPath)
129129
fs.writeFileSync(`${docsPath}/index.md`, content)
@@ -381,7 +381,7 @@ const updateDestinations = async () => {
381381
destination.supportedMethods = renameKey(destination.supportedMethods, 'pageview', 'page')
382382

383383
let updatedDestination = {
384-
destination_id: destination.id,
384+
id: destination.id,
385385
display_name: destination.name,
386386
name: destination.name,
387387
slug,

0 commit comments

Comments
 (0)