Skip to content

Commit

Permalink
fix: formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoo committed Sep 11, 2024
1 parent 3ffcd6b commit a22b721
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/service-providers/active_campaign/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const renderPreSendInfo = ( newsletterData = {}, meta = {} ) => {
);
};

const isCampaignSent= ( newsletterData, postStatus = 'draft' ) => {
const isCampaignSent = ( newsletterData, postStatus = 'draft' ) => {
if ( 'publish' === postStatus || 'private' === postStatus ) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/service-providers/campaign_monitor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const renderPreSendInfo = ( newsletterData = {}, meta = {} ) => {
);
};

const isCampaignSent= ( newsletterData, postStatus = 'draft' ) => {
const isCampaignSent = ( newsletterData, postStatus = 'draft' ) => {
if ( 'publish' === postStatus || 'private' === postStatus ) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/service-providers/constant_contact/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const renderPreSendInfo = ( newsletterData = {}, meta = {} ) => {
);
};

const isCampaignSent= ( newsletterData, postStatus = 'draft' ) => {
const isCampaignSent = ( newsletterData, postStatus = 'draft' ) => {
const { current_status: status } = newsletterData?.campaign || {};
if ( 'DRAFT' !== status ) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/service-providers/example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const renderPreSendInfo = ( newsletterData = {}, meta = {} ) => {
* @param {string} postStatus The post's current status.
* @return {boolean} True if the campaign has been sent, otherwise false.
*/
const isCampaignSent= ( newsletterData, postStatus = 'draft' ) => {
const isCampaignSent = ( newsletterData, postStatus = 'draft' ) => {
if ( 'publish' === postStatus || 'private' === postStatus ) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/service-providers/mailchimp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const renderPreSendInfo = ( newsletterData = {}, meta = {} ) => {
);
};

const isCampaignSent= ( newsletterData, postStatus = 'draft' ) => {
const isCampaignSent = ( newsletterData, postStatus = 'draft' ) => {
const { status } = newsletterData?.campaign || {};
if ( 'sent' === status || 'sending' === status ) {
return true;
Expand Down

0 comments on commit a22b721

Please sign in to comment.