Supabase REST manda response gzip por default. Faraday default não tem middleware de descompressão, então JSON.parse(gzip_bytes) explodia em JSON::ParserError, capturado pelo rescue → array vazio silencioso. OfferService#fetch_unidade retornava [] mesmo com row presente, caindo em "Sem unidade vinculada — tenant não resolvido". Fix em offer_service, weekly_report_service, notify_revealed_job e notify_revealed_scheduler_job. (get_reserva_preco_tool já tinha o fix.) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| config | ||
| lib | ||
| LICENSE | ||
| tasks_railtie.rb | ||