#11370 & #11402 ### Changes made: 1. Updated search.service.ts to properly handle workspace member avatar and Person Avatar URLs with authentication tokens 2. Integrated FileService for token generation 3. Added FileModule to SearchModule for dependency injection ### Implementation details: - Used getImageUrlWithToken to append authentication tokens to avatar URLs specifically for workspace members --------- Co-authored-by: etiennejouan <jouan.etienne@gmail.com>
This commit is contained in:
@ -80,6 +80,7 @@ export const SEARCH_FIELDS_FOR_WORKSPACE_MEMBER: FieldTypeAndNameMetadata[] = [
|
||||
description: msg`A workspace member`,
|
||||
icon: STANDARD_OBJECT_ICONS.workspaceMember,
|
||||
labelIdentifierStandardId: WORKSPACE_MEMBER_STANDARD_FIELD_IDS.name,
|
||||
imageIdentifierStandardId: WORKSPACE_MEMBER_STANDARD_FIELD_IDS.avatarUrl,
|
||||
})
|
||||
@WorkspaceIsSystem()
|
||||
@WorkspaceIsNotAuditLogged()
|
||||
|
||||
Reference in New Issue
Block a user