mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
fix null checks for background in UserEntityService.ts
This commit is contained in:
parent
6c2d5cb841
commit
335603f073
1 changed files with 2 additions and 2 deletions
|
@ -645,8 +645,8 @@ export class UserEntityService implements OnModuleInit {
|
|||
lastFetchedAt: user.lastFetchedAt ? user.lastFetchedAt.toISOString() : null,
|
||||
bannerUrl: user.bannerId == null ? null : user.bannerUrl,
|
||||
bannerBlurhash: user.bannerId == null ? null : user.bannerBlurhash,
|
||||
backgroundUrl: user.backgroundUrl == null ? null : user.backgroundUrl,
|
||||
backgroundBlurhash: user.backgroundBlurhash == null ? null : user.backgroundBlurhash,
|
||||
backgroundUrl: user.backgroundId == null ? null : user.backgroundUrl,
|
||||
backgroundBlurhash: user.backgroundId == null ? null : user.backgroundBlurhash,
|
||||
isLocked: user.isLocked,
|
||||
isSuspended: user.isSuspended,
|
||||
location: profile!.location,
|
||||
|
|
Loading…
Add table
Reference in a new issue