Commit 773a5631 by Peggy Li

Fix typo in function name

parent df8e56dd
...@@ -16,7 +16,7 @@ import ( ...@@ -16,7 +16,7 @@ import (
"github.com/grafana/grafana/pkg/util" "github.com/grafana/grafana/pkg/util"
) )
func isDasboardStarredByUser(c *middleware.Context, dashId int64) (bool, error) { func isDashboardStarredByUser(c *middleware.Context, dashId int64) (bool, error) {
if !c.IsSignedIn { if !c.IsSignedIn {
return false, nil return false, nil
} }
...@@ -41,7 +41,7 @@ func GetDashboard(c *middleware.Context) { ...@@ -41,7 +41,7 @@ func GetDashboard(c *middleware.Context) {
return return
} }
isStarred, err := isDasboardStarredByUser(c, query.Result.Id) isStarred, err := isDashboardStarredByUser(c, query.Result.Id)
if err != nil { if err != nil {
c.JsonApiErr(500, "Error while checking if dashboard was starred by user", err) c.JsonApiErr(500, "Error while checking if dashboard was starred by user", err)
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment