Auth: Fix function name (#100122)

Fix spelling
This commit is contained in:
Karl Persson
2025-02-05 15:32:22 +01:00
committed by GitHub
parent 64800f293e
commit 39d94eabcd
14 changed files with 30 additions and 30 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ type sqlStatsService struct {
func (ss *sqlStatsService) getDashboardCount(ctx context.Context, orgs []*org.OrgDTO) (int64, error) {
count := int64(0)
for _, org := range orgs {
ctx, _ = identity.WithServiceIdentitiy(ctx, org.ID)
ctx, _ = identity.WithServiceIdentity(ctx, org.ID)
dashsCount, err := ss.dashSvc.CountDashboardsInOrg(ctx, org.ID)
if err != nil {
return 0, err
@@ -58,7 +58,7 @@ func (ss *sqlStatsService) getDashboardCount(ctx context.Context, orgs []*org.Or
func (ss *sqlStatsService) getTagCount(ctx context.Context, orgs []*org.OrgDTO) (int64, error) {
total := 0
for _, org := range orgs {
ctx, _ = identity.WithServiceIdentitiy(ctx, org.ID)
ctx, _ = identity.WithServiceIdentity(ctx, org.ID)
tags, err := ss.dashSvc.GetDashboardTags(ctx, &dashboards.GetDashboardTagsQuery{
OrgID: org.ID,
})
@@ -74,7 +74,7 @@ func (ss *sqlStatsService) getTagCount(ctx context.Context, orgs []*org.OrgDTO)
func (ss *sqlStatsService) getFolderCount(ctx context.Context, orgs []*org.OrgDTO) (int64, error) {
total := 0
for _, org := range orgs {
ctx, ident := identity.WithServiceIdentitiy(ctx, org.ID)
ctx, ident := identity.WithServiceIdentity(ctx, org.ID)
folders, err := ss.folderSvc.GetFolders(ctx, folder.GetFoldersQuery{
OrgID: org.ID,
SignedInUser: ident,