Fix Account Owner Dropdown to Display Team Member Profile Pictures #11370 (#11385)

#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:
Vaibhav Devere
2025-04-16 21:16:37 +05:30
committed by GitHub
parent 4d78f5f97f
commit e1b99a6f39
6 changed files with 29 additions and 6 deletions

View File

@ -27,7 +27,7 @@ export class FileService {
});
}
async encodeFileToken(payloadToEncode: Record<string, any>) {
encodeFileToken(payloadToEncode: Record<string, any>) {
const fileTokenExpiresIn = this.twentyConfigService.get(
'FILE_TOKEN_EXPIRES_IN',
);