We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e482a93 commit 3d7c894Copy full SHA for 3d7c894
routers/web/admin/config.go
@@ -207,7 +207,7 @@ func ChangeConfig(ctx *context.Context) {
207
return "false", nil
208
}
209
210
- marshalString := func(v string) (string, error) {
+ marshalString := func(v string) (string, error) {
211
if strings.TrimSpace(v) == "" {
212
return "null", nil
213
@@ -218,7 +218,6 @@ func ChangeConfig(ctx *context.Context) {
218
return string(b), nil
219
220
221
-
222
marshalOpenWithApps := func(value string) (string, error) {
223
lines := strings.Split(value, "\n")
224
var openWithEditorApps setting.OpenWithEditorAppsType
0 commit comments