Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Updated the samples
Browse files Browse the repository at this point in the history
  • Loading branch information
sfcbetiuc committed Nov 25, 2019
1 parent f281ae1 commit 03f8aa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/samples/SampleHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ class SampleHelper {
let customerKey = createAssetResponse.customerKey;
let emailDefinitionName = 'EmailDefinitionName' + SampleHelper.getUUID(5); // it has be unique
let emailDefinitionKey = 'EmailDefinitionKey' + SampleHelper.getUUID(5); // it has be unique
let emailDefinitionContent = new SalesforceMarketingCloud.CreateEmailDefinitionContent(customerKey);
let emailDefinitionSubscriptions = new SalesforceMarketingCloud.CreateEmailDefinitionSubscriptions(SUBSCRIBERS_LIST_KEY);
let emailDefinitionContent = new SalesforceMarketingCloud.EmailDefinitionContent(customerKey);
let emailDefinitionSubscriptions = new SalesforceMarketingCloud.EmailDefinitionSubscriptions(SUBSCRIBERS_LIST_KEY);

return new SalesforceMarketingCloud.CreateEmailDefinitionRequest(emailDefinitionName, emailDefinitionKey, emailDefinitionContent, emailDefinitionSubscriptions);
return new SalesforceMarketingCloud.EmailDefinition(emailDefinitionName, emailDefinitionKey, emailDefinitionContent, emailDefinitionSubscriptions);
}

static getUUID(length) {
Expand Down

0 comments on commit 03f8aa3

Please sign in to comment.