Skip to content

Commit

Permalink
fix: tags not applied
Browse files Browse the repository at this point in the history
  • Loading branch information
sansan committed Jul 20, 2023
1 parent 266e280 commit 4695c0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/cdd-backend/src/mailchimp/mailchimp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ export class MailchimpService {
return;
}

if (result && this.isMailchimpErrorResponse(result)) {
this.logger.error('Mailchimp Error', { error: result });
if (result && result.status !== 'subscribed') {
this.logger.error('Mailchimp Error Adding Subscriber', result);

return;
}
Expand All @@ -136,7 +136,7 @@ export class MailchimpService {
}

if (tagsResult && this.isMailchimpErrorResponse(tagsResult)) {
this.logger.error('Mailchimp Error', { error: tagsResult });
this.logger.error('Mailchimp Error Response', { error: tagsResult });
}

return;
Expand Down

0 comments on commit 4695c0a

Please sign in to comment.