chore: fix v4.2.0 deployment (#64)
* chore: fix docker compose healthcheck * fix: compact setup channel provider request
This commit is contained in:
parent
2f36e0cfd3
commit
6e1da287a2
@ -18,7 +18,7 @@ class Whatsapp::Providers::WhatsappBaileysService < Whatsapp::Providers::BaseSer
|
|||||||
webhookVerifyToken: whatsapp_channel.provider_config['webhook_verify_token'],
|
webhookVerifyToken: whatsapp_channel.provider_config['webhook_verify_token'],
|
||||||
# TODO: Remove on Baileys v2, default will be false
|
# TODO: Remove on Baileys v2, default will be false
|
||||||
includeMedia: false
|
includeMedia: false
|
||||||
}.to_json
|
}.compact.to_json
|
||||||
)
|
)
|
||||||
|
|
||||||
process_response(response)
|
process_response(response)
|
||||||
|
|||||||
@ -50,7 +50,7 @@ services:
|
|||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD-SHELL
|
- CMD-SHELL
|
||||||
- 'wget -qO- http://127.0.0.1:3000/'
|
- 'wget -qO- --header="Accept: text/html" http://127.0.0.1:3000/'
|
||||||
interval: 60s
|
interval: 60s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user