Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit c08b640

Browse files
authored
Merge pull request #85 from grafana/vt/fix_role_display_name
Fix the displayName json representation for Grafana role
2 parents 9b129a2 + 96f0cae commit c08b640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

role.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type Role struct {
1313
Description string `json:"description"`
1414
Global bool `json:"global"`
1515
Group string `json:"group"`
16-
DisplayName string `json:"string"`
16+
DisplayName string `json:"displayName"`
1717
Hidden bool `json:"hidden"`
1818
Permissions []Permission `json:"permissions,omitempty"`
1919
}

0 commit comments

Comments
 (0)