@basetime/bldr-sfmc-sdk
Advanced tools
Comparing version 1.2.8-beta.1 to 1.2.8-beta.2
@@ -381,3 +381,4 @@ "use strict"; | ||
const dataExtensionFolderObject = compiledFolderPaths.folders.find((folder) => folder.ID === dataExtension.Results[0].CategoryID); | ||
const { FolderPath } = dataExtensionFolderObject; | ||
const FolderPath = dataExtensionFolderObject && | ||
dataExtensionFolderObject.FolderPath; | ||
const dataExtensionFields = yield this.getDataExtensionFields(dataExtension.Results[0].CustomerKey); | ||
@@ -384,0 +385,0 @@ let sendable = dataExtension.Results[0].IsSendable; |
@@ -112,2 +112,3 @@ "use strict"; | ||
}); | ||
console.log(JSON.stringify(resp.Results, null, 2)); | ||
if (resp.OverallStatus !== 'OK') { | ||
@@ -114,0 +115,0 @@ throw new Error('Unable to Retrieve Folders'); |
@@ -567,3 +567,5 @@ import { guid } from '../../cli/utils'; | ||
); | ||
const { FolderPath } = dataExtensionFolderObject; | ||
const FolderPath = | ||
dataExtensionFolderObject && | ||
dataExtensionFolderObject.FolderPath; | ||
@@ -570,0 +572,0 @@ const dataExtensionFields = await this.getDataExtensionFields( |
@@ -130,2 +130,4 @@ import { SFMC_SOAP_Folder } from '../types/objects/sfmc_soap_folders'; | ||
console.log(JSON.stringify(resp.Results, null, 2)); | ||
if (resp.OverallStatus !== 'OK') { | ||
@@ -132,0 +134,0 @@ throw new Error('Unable to Retrieve Folders'); |
{ | ||
"name": "@basetime/bldr-sfmc-sdk", | ||
"version": "1.2.8-beta.1", | ||
"version": "1.2.8-beta.2", | ||
"description": "SDK for BLDR SFMC Core Functionality", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
402068
10721