mirror of
https://github.com/myronblair/novacpx
synced 2026-06-30 17:50:41 -05:00
ddd81d73e7
Dots/dashes in names were failing validateName; now stripped to underscores. Empty db_user field sent as "" (not null) so ?? fallback never fired; fixed to check for empty string explicitly. Wrap createMySQL/Postgres in try/catch so validation errors return 400 JSON instead of 500. Also pass db_type from JS (was being sent as db_type not type). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>