Skip to content

Commit 2f82c95

Browse files
author
markzegarelli
authored
fix catalog script (#3143)
1 parent 0b40736 commit 2f82c95

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

scripts/catalog_papi.js

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -397,35 +397,34 @@ const updateDestinations = async () => {
397397
destination.supportedMethods = renameKey(destination.supportedMethods, 'pageview', 'page')
398398

399399
let updatedDestination = {
400-
// id: destination.id,
401-
// display_name: destination.name,
402-
// name: destination.name,
403-
// slug,
404-
// hidden: isCatalogItemHidden(url),
405-
// endpoints,
406-
// regions,
407-
// url,
408-
// previous_names: destination.previousNames,
409-
// website: destination.website,
410-
// status: destination.status,
411-
// categories: tempCategories,
412-
// logo: {
413-
// url: destination.logos.default
414-
// },
415-
// mark: {
416-
// url: destination.logos.mark
417-
// },
418-
// methods: destination.supportedMethods,
419-
// platforms: destination.supportedPlatforms,
420-
// components: destination.components,
421-
// browserUnbundlingSupported: destination.supportedFeatures.browserUnbundling,
422-
// browserUnbundlingPublic: destination.supportedFeatures.browserUnbundlingPublic,
423-
// replay: destination.supportedFeatures.replay,
424-
// connection_modes,
425-
// settings,
426-
// actions,
427-
// presets
400+
id: destination.id,
401+
display_name: destination.name,
428402
name: destination.name,
403+
slug,
404+
hidden: isCatalogItemHidden(url),
405+
endpoints,
406+
regions,
407+
url,
408+
previous_names: destination.previousNames,
409+
website: destination.website,
410+
status: destination.status,
411+
categories: tempCategories,
412+
logo: {
413+
url: destination.logos.default
414+
},
415+
mark: {
416+
url: destination.logos.mark
417+
},
418+
methods: destination.supportedMethods,
419+
platforms: destination.supportedPlatforms,
420+
components: destination.components,
421+
browserUnbundlingSupported: destination.supportedFeatures.browserUnbundling,
422+
browserUnbundlingPublic: destination.supportedFeatures.browserUnbundlingPublic,
423+
replay: destination.supportedFeatures.replay,
424+
connection_modes,
425+
settings,
426+
actions,
427+
presets
429428
}
430429
destinationsUpdated.push(updatedDestination)
431430
doesCatalogItemExist(updatedDestination)

0 commit comments

Comments
 (0)