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

Co-authored-by: Morgan <[email protected]>
This commit is contained in:
Dhairyashil ShindeandMorgan authored and GitHub committed 2025-11-18 01:39:03 +05:30
1 parent 74af23136c
commit 801ba50221
2 files changed
+13 -2

No files matched your search

@@ -263,6 +263,10 @@ export class EventTypesService_2024_06_14 {
return [dynamicEventType];
}
if (authUser?.id) {
return await this.getUserEventTypes(authUser.id);
}
return [];
}