MSP-8974 fix
This commit is contained in:
1 parent
24a8ea2578
commit
e2af9c4978
4 files changed
+34
-50
No files matched your search
+2
-2
@@ -178,7 +178,7 @@ func (s Download) DownloadUsers(ctx context.Context, req domain.UsersPageRequest
|
||||
return errors.WithMessage(err, "get users")
|
||||
}
|
||||
|
||||
roles, err := s.roleService.All(ctx)
|
||||
roles, err := s.roleService.All(ctx, domain.RoleAllRequest{})
|
||||
if err != nil {
|
||||
return errors.WithMessage(err, "get roles")
|
||||
}
|
||||
@@ -217,7 +217,7 @@ func (s Download) DownloadUsers(ctx context.Context, req domain.UsersPageRequest
|
||||
}
|
||||
|
||||
func (s Download) DownloadRoles(ctx context.Context, w http.ResponseWriter) error {
|
||||
roles, err := s.roleService.All(ctx)
|
||||
roles, err := s.roleService.All(ctx, domain.RoleAllRequest{})
|
||||
if err != nil {
|
||||
return errors.WithMessage(err, "get roles")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user