Skip to content
Snippets Groups Projects
Commit f5bdee10 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed formatting

parent ead87c84
Branches
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ type UserInfo struct {
Roles []string
}
func (info *UserInfo) HasRole(role string) bool {
func (info UserInfo) HasRole(role string) bool {
for _, r := range info.Roles {
if r == role {
return true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment