From 14b377146eda0a3d3b23a573b10d246023db59e0 Mon Sep 17 00:00:00 2001 From: andrea rota Date: Thu, 28 Sep 2023 13:55:13 +0100 Subject: [PATCH] emit project-relevant API events --- .../infra/project/project-cost-surface-events.handler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/apps/api/src/modules/cost-surface/infra/project/project-cost-surface-events.handler.ts b/api/apps/api/src/modules/cost-surface/infra/project/project-cost-surface-events.handler.ts index 37e62c8c3f..cc9242cb2b 100644 --- a/api/apps/api/src/modules/cost-surface/infra/project/project-cost-surface-events.handler.ts +++ b/api/apps/api/src/modules/cost-surface/infra/project/project-cost-surface-events.handler.ts @@ -25,11 +25,11 @@ export class ProjectCostSurfaceEventsHandler // TODO!!! Create proper events private failEventsMapper: EventKind = { - event: API_EVENT_KINDS.scenario__costSurface__costUpdateFailed__v1_alpha1, + event: API_EVENT_KINDS.project__costSurface_shapefile_failed__v1alpha1, }; private successEventsMapper: EventKind = { - event: API_EVENT_KINDS.scenario__costSurface__finished__v1_alpha1, + event: API_EVENT_KINDS.project__costSurface_shapefile_finished__v1alpha1, }; constructor(