From 87ca83464758c1d0c8860d9b057b551540b68566 Mon Sep 17 00:00:00 2001 From: fly_mc Date: Sun, 15 Sep 2024 21:45:40 +0800 Subject: [PATCH] fix modified for stel --- packages/backend/src/core/entities/UserEntityService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/entities/UserEntityService.ts b/packages/backend/src/core/entities/UserEntityService.ts index f6d214cc2..2769ac235 100644 --- a/packages/backend/src/core/entities/UserEntityService.ts +++ b/packages/backend/src/core/entities/UserEntityService.ts @@ -492,7 +492,7 @@ export class UserEntityService implements OnModuleInit { : []; const avatarDecorations = user.host == null ? getLocalUserDecorations() - : this.cacheService.stpvRemoteUserDecorationsCache.fetch(user.id).then(res => res.map(ad => ({ + : this.cacheService.pariRemoteUserDecorationsCache.fetch(user.id).then(res => res.map(ad => ({ ...ad, url: ad.url && this.config.proxyRemoteFiles ? `${this.config.mediaProxy}/static.webp?url=${(encodeURIComponent(ad.url))}`