Skip to content

Commit fc4b94d

Browse files
committed
DOC-320 remove maxia destination
1 parent d148add commit fc4b94d

File tree

7 files changed

+1044
-1093
lines changed

7 files changed

+1044
-1093
lines changed

scripts/catalog_papi.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,14 @@ const updateSources = async () => {
329329
var todayDate = new Date().toISOString().slice(0,10);
330330
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
331331
output += "# sources last updated " + todayDate + " \n";
332-
output += yaml.safeDump({ items: sourcesUpdated }, options);
332+
output += yaml.dump({ items: sourcesUpdated }, options);
333333
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/sources.yml`), output);
334334

335335
// Create source-category mapping yaml file
336336
var todayDate = new Date().toISOString().slice(0,10);
337337
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
338338
output += "# source cateogries last updated " + todayDate + " \n";
339-
output += yaml.safeDump({ items: sourceCategories }, options);
339+
output += yaml.dump({ items: sourceCategories }, options);
340340
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/source_categories.yml`), output);
341341

342342

@@ -460,14 +460,14 @@ const updateDestinations = async () => {
460460
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
461461
var todayDate = new Date().toISOString().slice(0,10);
462462
output += "# destination data last updated " + todayDate + " \n";
463-
output += yaml.safeDump({ items: destinationsUpdated }, options);
463+
output += yaml.dump({ items: destinationsUpdated }, options);
464464
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/destinations.yml`), output);
465465

466466
// Create destination-category mapping yaml file
467467
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
468468
var todayDate = new Date().toISOString().slice(0,10);
469469
output += "# destination categories last updated " + todayDate + " \n";
470-
output += yaml.safeDump({ items: destinationCategories }, options);
470+
output += yaml.dump({ items: destinationCategories }, options);
471471
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/destination_categories.yml`), output);
472472
}
473473

@@ -520,7 +520,7 @@ const updateWarehouses = async () => {
520520
output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
521521
var todayDate = new Date().toISOString().slice(0,10);
522522
output += "# warehouse data last updated " + todayDate + " \n";
523-
output += yaml.safeDump({ items: warehousesUpdated }, options);
523+
output += yaml.dump({ items: warehousesUpdated }, options);
524524
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/warehouse_papi.yml`), output);
525525

526526
}

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2021-09-21
2+
# destination categories last updated 2021-09-23
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

0 commit comments

Comments
 (0)