fix: missing await in updateEventType old endpoint (#24911)

This commit is contained in:
Morgan
2025-11-04 15:15:19 +00:00
committed by GitHub
parent 0bf0749b29
commit 1fdd04215d
@@ -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 || [])];