mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-01 00:08:31 +09:00
fix remote user profile media wrong url
This commit is contained in:
parent
d32ad30e8e
commit
147bff8d07
@ -253,8 +253,8 @@ export class ApPersonService implements OnModuleInit {
|
||||
return {
|
||||
avatarId: avatar?.id ?? null,
|
||||
bannerId: banner?.id ?? null,
|
||||
avatarUrl: avatar ? this.driveFileEntityService.getPublicUrl(avatar, 'avatar', true) : null,
|
||||
bannerUrl: banner ? this.driveFileEntityService.getPublicUrl(banner, undefined, true) : null,
|
||||
avatarUrl: avatar ? this.driveFileEntityService.getPublicUrl(avatar, 'avatar', false) : null,
|
||||
bannerUrl: banner ? this.driveFileEntityService.getPublicUrl(banner, undefined, false) : null,
|
||||
avatarBlurhash: avatar?.blurhash ?? null,
|
||||
bannerBlurhash: banner?.blurhash ?? null,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user