@Omini said in Модуль для BAS: Отправка уведомлений в телеграм:
@support
I'm very happy also to see that great community grow up.
👍
But I think there is something missing
if the JSON does not have 'ok' then it will fail and stay on the http_internal right??
Yes, but "_switch_http_client" switches are found in every action that uses the http-client. Any of the following action will switch "_switch_http_client".
I think he should fix that by adding
http_client_set_fail_on_error(false)
then after all code should return it back to
http_client_set_fail_on_error(true)
Right?
These methods are outdated and may not work correctly.
Code from screenshot from send_message_code.js file? Look at my module, I fixed this condition two years ago:
