From 1fdd04215d58f9c15ce5f888e4872226cb31a3ea Mon Sep 17 00:00:00 2001 From: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Date: Tue, 4 Nov 2025 17:15:19 +0200 Subject: [PATCH] fix: missing await in updateEventType old endpoint (#24911) --- .../event-types_2024_04_15/services/event-types.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/v2/src/ee/event-types/event-types_2024_04_15/services/event-types.service.ts b/apps/api/v2/src/ee/event-types/event-types_2024_04_15/services/event-types.service.ts index d7cc75cd79..f3b3264483 100644 --- a/apps/api/v2/src/ee/event-types/event-types_2024_04_15/services/event-types.service.ts +++ b/apps/api/v2/src/ee/event-types/event-types_2024_04_15/services/event-types.service.ts @@ -129,7 +129,7 @@ export class EventTypesService_2024_04_15 { } async updateEventType(eventTypeId: number, body: UpdateEventTypeInput_2024_04_15, user: UserWithProfile) { - this.checkCanUpdateEventType(user.id, eventTypeId); + await this.checkCanUpdateEventType(user.id, eventTypeId); const eventTypeUser = await this.getUserToUpdateEvent(user); const bookingFields = [...(body.bookingFields || [])];