@comet/brevo-api 2.0.2-canary-20240912094040 → 2.0.2-canary-20240912095051

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,7 +139,7 @@ let BrevoApiContactsService = class BrevoApiContactsService {
139
139
  return contact;
140
140
  }
141
141
  catch (error) {
142
- if ((0, brevo_api_utils_1.isErrorFromBrevo)(error) && error.response.statusCode === 400) {
142
+ if ((0, brevo_api_utils_1.isErrorFromBrevo)(error) && error.response.statusCode === 404) {
143
143
  return undefined;
144
144
  }
145
145
  throw error;