diff options
-rw-r--r-- | system/admin/config/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/admin/config/config.go b/system/admin/config/config.go index c46a54e..cba31b1 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -15,7 +15,7 @@ type Config struct { AdminEmail string `json:"admin_email"` ClientSecret string `json:"client_secret"` Etag string `json:"etag"` - CacheInvalidate []string `json:"cache"` + CacheInvalidate []string `json:"cacheTAG"` } // ContentName partially implements editor.Editable @@ -70,7 +70,7 @@ func (c *Config) MarshalEditor() ([]byte, error) { View: editor.Checkbox("CacheInvalidate", c, map[string]string{ "label": "Invalidate cache on save", }, map[string]string{ - "cache": "Invalidate", + "cacheMAP": "Invalidate", }), }, ) |