@andrey4emk/npm-app-back-b24 0.6.1 → 0.6.2
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.
- package/package.json +1 -1
- package/sendMessage/wappi.js +2 -1
package/package.json
CHANGED
package/sendMessage/wappi.js
CHANGED
|
@@ -218,7 +218,7 @@ export class Wappi {
|
|
|
218
218
|
|
|
219
219
|
let token = this.telegaAuth.token;
|
|
220
220
|
let profile_id = this.telegaAuth.profile_id;
|
|
221
|
-
let url = `https://wappi.pro/tapi/sync/contact/add
|
|
221
|
+
let url = `https://wappi.pro/tapi/sync/contact/add`;
|
|
222
222
|
|
|
223
223
|
try {
|
|
224
224
|
let res = await fetch(url, {
|
|
@@ -226,6 +226,7 @@ export class Wappi {
|
|
|
226
226
|
headers: {
|
|
227
227
|
"Content-Type": "application/json",
|
|
228
228
|
Authorization: token,
|
|
229
|
+
profile_id: profile_id,
|
|
229
230
|
},
|
|
230
231
|
body: JSON.stringify({
|
|
231
232
|
phone: phone,
|