-
-
Save marr/dceaa5828841b60176f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const description = this.cleanedData.description; | |
if (description) { | |
const p = CampaignActions.verifyContent('description', description); | |
} | |
const title = this.cleanedData.title; | |
if (title) { | |
const p1 = CampaignActions.verifyContent('title', title); | |
} | |
if (p && p1) { p.then(p1).then(callback); } | |
else if (p1) { p1.then(callback) } | |
else if (p) { p.then(callback) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment