mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 17:08:33 +08:00
apiToForm read bedrock_cc_compat as Record<string, boolean> (nested map) but formToAPI saves it as a plain bool. Reading true["anthropic"] returns undefined, so the toggle always appeared off after save. Align the read path with the write path: fc?.bedrock_cc_compat === true.