Merge pull request #3519 from gravitl/release-v0.99.0

Release v0.99.0
This commit is contained in:
Abhishek K 2025-06-23 08:47:53 +05:30 committed by GitHub
commit db8e012a35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,7 +247,10 @@ func getConfig(w http.ResponseWriter, r *http.Request) {
// @Success 200 {object} config.ServerSettings
func getSettings(w http.ResponseWriter, r *http.Request) {
scfg := logic.GetServerSettings()
if scfg.ClientSecret != "" {
scfg.ClientSecret = logic.Mask()
}
logic.ReturnSuccessResponseWithJson(w, r, scfg, "fetched server settings successfully")
}