Fix bug
This commit is contained in:
parent
a38ae4a402
commit
06c621acc1
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ export class UserRepository extends Repository<User> {
|
||||||
bannerUrl: user.bannerUrl,
|
bannerUrl: user.bannerUrl,
|
||||||
bannerColor: user.bannerColor,
|
bannerColor: user.bannerColor,
|
||||||
isLocked: user.isLocked,
|
isLocked: user.isLocked,
|
||||||
|
isModerator: user.isModerator || undefined,
|
||||||
description: profile!.description,
|
description: profile!.description,
|
||||||
location: profile!.location,
|
location: profile!.location,
|
||||||
birthday: profile!.birthday,
|
birthday: profile!.birthday,
|
||||||
|
|
Loading…
Reference in a new issue