iachat/app/services/whatsapp/providers
gabrieljablonski 0da4c52ee8 fix(baileys): handle array response in on_whatsapp endpoint
The Baileys `/on-whatsapp` endpoint can return a bare JSON array instead
of a hash with a `data` key. Calling `Array#dig` with a string key
raises `TypeError (no implicit conversion of String into Integer)`,
causing a 500 error. Handle both response shapes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 16:41:22 -03:00
..
base_service.rb feat: group conversations (#228) 2026-03-19 21:56:58 -03:00
whatsapp_360_dialog_service.rb Merge branch 'main' into chore/merge-upstream-4.5.0 2025-08-20 11:20:31 -03:00
whatsapp_baileys_service.rb fix(baileys): handle array response in on_whatsapp endpoint 2026-03-20 16:41:22 -03:00
whatsapp_cloud_service.rb fix: normalize audio/opus content type to audio/ogg for WhatsApp attachments (#223) 2026-02-24 22:01:18 -03:00
whatsapp_zapi_service.rb feat(whatsapp): delete messages on baileys/zapi providers (#194) 2026-01-24 22:37:50 -03:00