mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +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,
|
lastFetchedAt: user.lastFetchedAt ? user.lastFetchedAt.toISOString() : null,
|
||||||
bannerUrl: user.bannerId == null ? null : user.bannerUrl,
|
bannerUrl: user.bannerId == null ? null : user.bannerUrl,
|
||||||
bannerBlurhash: user.bannerId == null ? null : user.bannerBlurhash,
|
bannerBlurhash: user.bannerId == null ? null : user.bannerBlurhash,
|
||||||
backgroundUrl: user.backgroundUrl == null ? null : user.backgroundUrl,
|
backgroundUrl: user.backgroundId == null ? null : user.backgroundUrl,
|
||||||
backgroundBlurhash: user.backgroundBlurhash == null ? null : user.backgroundBlurhash,
|
backgroundBlurhash: user.backgroundId == null ? null : user.backgroundBlurhash,
|
||||||
isLocked: user.isLocked,
|
isLocked: user.isLocked,
|
||||||
isSuspended: user.isSuspended,
|
isSuspended: user.isSuspended,
|
||||||
location: profile!.location,
|
location: profile!.location,
|
||||||
|
|
Loading…
Add table
Reference in a new issue