[Admin Panel] fix invalid uuid issue on health status (#13619)

Health status queries are failing at the moment - regression was
introduced in 01f25519f6
health status ids are not uuids, we use params to fetch them on the
frontend.
But maybe @FelixMalfait and @abdulrahmancodes have more context on this
one?
This commit is contained in:
nitin
2025-08-05 13:39:07 +05:30
committed by GitHub
parent 9ceb097ab7
commit ca9464e19d
5 changed files with 9 additions and 8 deletions
@@ -1,13 +1,13 @@
import { Field, ObjectType } from '@nestjs/graphql';
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
import { AdminPanelWorkerQueueHealth } from 'src/engine/core-modules/admin-panel/dtos/admin-panel-worker-queue-health.dto';
import { AdminPanelHealthServiceStatus } from 'src/engine/core-modules/admin-panel/enums/admin-panel-health-service-status.enum';
import { HealthIndicatorId } from 'src/engine/core-modules/health/enums/health-indicator-id.enum';
@ObjectType()
export class AdminPanelHealthServiceData {
@Field(() => UUIDScalarType)
id: string;
@Field(() => HealthIndicatorId)
id: HealthIndicatorId;
@Field(() => String)
label: string;