@modulbank/sendamo
Advanced tools
Comparing version 0.0.26-beta-sm-8778-integration-with-cityes-add-6a319546 to 0.0.26-beta-sm-8778-integration-with-cityes-add-7131961e
@@ -99,3 +99,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new Promise((resolve, reject) => { | ||
const url = new URL('https://postback.cityads.com/service/postback/'); | ||
const url = new URL('https://modulbank.ru/postback-cityads/'); | ||
url.searchParams.set('campaign_secret', 'oPBnE0'); | ||
@@ -112,8 +112,6 @@ url.searchParams.set('order_id', orderId); | ||
} | ||
else { | ||
throw new Error(yield response.json()); | ||
} | ||
resolve(response.json()); | ||
})) | ||
.catch((err) => { | ||
reject(err); | ||
resolve(err); | ||
}); | ||
@@ -120,0 +118,0 @@ }); |
{ | ||
"name": "@modulbank/sendamo", | ||
"version": "0.0.26-beta-sm-8778-integration-with-cityes-add-6a319546", | ||
"version": "0.0.26-beta-sm-8778-integration-with-cityes-add-7131961e", | ||
"description": "send to amocrm method", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8951
200