Plugins: Invalidate plugin context app settings cache post update (#63279)

invalid plugin settings
This commit is contained in:
Will Browne
2023-02-24 12:13:22 +01:00
committed by GitHub
parent 19d1a46f30
commit 200d2ad249
2 changed files with 11 additions and 1 deletions
+2
View File
@@ -263,6 +263,8 @@ func (hs *HTTPServer) UpdatePluginSetting(c *contextmodel.ReqContext) response.R
return response.Error(500, "Failed to update plugin setting", err)
}
hs.PluginContextProvider.InvalidateSettingsCache(c.Req.Context(), pluginID)
return response.Success("Plugin settings updated")
}