MSP-8974 fix

This commit is contained in:
chashintv committed 2026-11-23 13:27:39 +03:00
1 parent 24a8ea2578
commit e2af9c4978
4 files changed
+34 -50

No files matched your search

+2 -2
View File
@@ -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")
}