fix: remove cal video logo from select (#17665)

* fix: remove cal video logo from managed event types

* fix: do not fetch cal video logo
This commit is contained in:
Udit Takkar authored and GitHub committed 2024-11-15 16:45:44 +00:00
1 parent f76696032e
commit 9b79c037c2
7 files changed
+23 -17

No files matched your search

@@ -207,16 +207,6 @@ const filterEventTypes = async (
evType.hosts = [];
});
// Remove calVideoLogo from organization objects
filteredEventTypes.forEach((eventType) => {
eventType.users?.forEach((user) => {
if (user.profile?.organization) {
const { calVideoLogo, ...orgWithoutCalVideoLogo } = user.profile.organization;
user.profile.organization = orgWithoutCalVideoLogo;
}
});
});
log.info(
"filteredEventTypes",
safeStringify({