838cc651b2f1c47b5d9175ad14df90a12e0499af
- Added UNIQUE KEY on companies.name in DB so ON DUPLICATE KEY UPDATE actually fires instead of always inserting - Removed config_json and phone_number_id from upsert: those hold admin-configured bot data and should never be overwritten by ERP sync - Skip placeholder API key to avoid sending a fake Bearer token - Improved error reporting: curl errors, raw response preview, per-company error labels Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
3.7 MiB
Languages
PHP
87.5%
HTML
10.7%
CSS
1.6%
JavaScript
0.1%