Fix linter issues

This commit is contained in:
Jonas Plum
2023-05-21 13:52:26 +02:00
parent c96e2ebe06
commit 25b9d693af
11 changed files with 16 additions and 35 deletions

View File

@@ -82,7 +82,7 @@ func (c *catalystResolver) UserByIDAndPassword(ctx context.Context, username str
return mapMautUser(user), nil
}
func (c *catalystResolver) Role(ctx context.Context, roleID string) (r *maut.Role, err error) {
func (c *catalystResolver) Role(_ context.Context, roleID string) (r *maut.Role, err error) {
switch roleID {
case "admin":
return Admin, nil