Skip to content

Commit e6a67e2

Browse files
authored
Merge pull request #260 from segmentio/repo-sync
repo sync
2 parents cb94b3f + df27ae7 commit e6a67e2

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)