Skip to content

Commit

Permalink
fix remote user profile media wrong url
Browse files Browse the repository at this point in the history
  • Loading branch information
caipira113 committed Nov 17, 2023
1 parent dcdadf6 commit 6f3f8dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 6f3f8dc

Please sign in to comment.