mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 05:02:17 +00:00
Backend • Removed the exported function `ValidateApiInfo` from `setting/console_setting/validation.go`; it was only a legacy wrapper and is no longer required. • Updated `controller/option.go` to call `ValidateConsoleSettings(value, "ApiInfo")` directly when validating `console_setting.api_info`. • Confirmed there are no remaining references to `ValidateApiInfo` in the codebase. This commit eliminates the last piece of compatibility code related to the old validation interface, keeping the API surface clean and consistent.