mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: refactor following naming convention for services (#57625)
This commit is contained in:
committed by
GitHub
parent
5879805e4b
commit
860380d893
@@ -104,7 +104,7 @@ func (hs *HTTPServer) GetDashboard(c *models.ReqContext) response.Response {
|
||||
err error
|
||||
)
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagPublicDashboards) {
|
||||
hasPublicDashboard, err = hs.PublicDashboardsApi.PublicDashboardService.PublicDashboardIsEnabled(c.Req.Context(), dash.Uid)
|
||||
hasPublicDashboard, err = hs.PublicDashboardsApi.PublicDashboardService.ExistsEnabledByDashboardUid(c.Req.Context(), dash.Uid)
|
||||
if err != nil {
|
||||
return response.Error(500, "Error while retrieving public dashboards", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user