#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:
@ -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',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user