refactor(config): remove deprecated legacy API key fields

This commit is contained in:
hkfires
2025-12-03 11:01:56 +08:00
parent bd1678457b
commit 06c0d2bab2
5 changed files with 136 additions and 143 deletions

View File

@@ -17,7 +17,6 @@ func (h *Handler) GetConfig(c *gin.Context) {
return
}
cfgCopy := *h.cfg
cfgCopy.GlAPIKey = geminiKeyStringsFromConfig(h.cfg)
c.JSON(200, &cfgCopy)
}