fix: empty event type array if no username (#25178)
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
This commit is contained in:
co-authored by
Morgan
parent
74af23136c
commit
801ba50221
@@ -263,6 +263,10 @@ export class EventTypesService_2024_06_14 {
|
||||
return [dynamicEventType];
|
||||
}
|
||||
|
||||
if (authUser?.id) {
|
||||
return await this.getUserEventTypes(authUser.id);
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user