mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
Fix typo in function name
This commit is contained in:
parent
df8e56ddf8
commit
773a5631c5
@ -16,7 +16,7 @@ import (
|
||||
"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 {
|
||||
return false, nil
|
||||
}
|
||||
@ -41,7 +41,7 @@ func GetDashboard(c *middleware.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
isStarred, err := isDasboardStarredByUser(c, query.Result.Id)
|
||||
isStarred, err := isDashboardStarredByUser(c, query.Result.Id)
|
||||
if err != nil {
|
||||
c.JsonApiErr(500, "Error while checking if dashboard was starred by user", err)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user