fix: filter cal video logo (#17663)
* fix: filter cal video logo * chore: message
This commit is contained in:
1 parent
7f2db48c72
commit
c6aa57177a
1 file changed
+10
@@ -207,6 +207,16 @@ 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({
|
||||
|
||||
Reference in new issue
Block a user