fix: empty event type array if no username (#25178)

Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
This commit is contained in:
Dhairyashil Shinde
2025-11-18 01:39:03 +05:30
committed by GitHub
co-authored by Morgan
parent 74af23136c
commit 801ba50221
2 changed files with 13 additions and 2 deletions
@@ -263,6 +263,10 @@ export class EventTypesService_2024_06_14 {
return [dynamicEventType];
}
if (authUser?.id) {
return await this.getUserEventTypes(authUser.id);
}
return [];
}
+9 -2
View File
@@ -22678,7 +22678,8 @@
"OOO_CREATED",
"AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
"AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
"FORM_SUBMITTED_NO_EVENT"
"FORM_SUBMITTED_NO_EVENT",
"DELEGATION_CREDENTIAL_ERROR"
]
},
"secret": {
@@ -22745,7 +22746,8 @@
"OOO_CREATED",
"AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
"AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
"FORM_SUBMITTED_NO_EVENT"
"FORM_SUBMITTED_NO_EVENT",
"DELEGATION_CREDENTIAL_ERROR"
]
},
"secret": {
@@ -27394,6 +27396,10 @@
"email": {
"type": "string"
},
"name": {
"type": "string",
"nullable": true
},
"timeFormat": {
"type": "number"
},
@@ -27419,6 +27425,7 @@
"id",
"username",
"email",
"name",
"timeFormat",
"defaultScheduleId",
"weekStart",