@andrey4emk/npm-app-back-b24 3.0.1 → 3.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrey4emk/npm-app-back-b24",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Bitrix24 OAuth helpers for Node.js projects",
5
5
  "main": "index.ts",
6
6
  "type": "module",
@@ -170,11 +170,6 @@ export class Wappi {
170
170
  url = `https://wappi.pro/maxapi/async/message/file/url/send?${sendOpenLine}profile_id=${profile_id}`;
171
171
  }
172
172
 
173
- // Max при отправке pdf не прикрепляет сообщение caption, поэтому отправляем его отдельно
174
- if (fileName.includes(".pdf") && messangerType === "max") {
175
- await this.sendMessageWappi(messangerType, { phone, message });
176
- }
177
-
178
173
  const res = await fetch(url!, {
179
174
  method: "POST",
180
175
  headers: {