-
Your Name authored
- Updated API endpoint to handle simple key-value format from frontend - Endpoint now accepts both old format (consolidation_settings array) and new format (btc/eth/usdt/usdc keys) - Maps lowercase keys to uppercase crypto_type in database (btc -> BTC, etc) - Only updates threshold_amount, preserves admin_address and is_enabled - Fixes issue where changing page would reset values to defaults
eb05beac