mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-05-16 13:37:04 +00:00
When editing an apikey account, the credentials object was built from scratch, causing fields like tier_id that are not exposed in the UI to be silently dropped on save. Spread currentCredentials first so unknown fields are retained, then let the known fields overwrite them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>