From 30527edf5128fcf33cb2de3a29cdfdfd509e7506 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Mon, 25 Sep 2023 06:05:32 +0200 Subject: [PATCH] revert: userentity description location --- packages/backend/src/core/entities/UserEntityService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/entities/UserEntityService.ts b/packages/backend/src/core/entities/UserEntityService.ts index e72b301cc9..8e3db8b43f 100644 --- a/packages/backend/src/core/entities/UserEntityService.ts +++ b/packages/backend/src/core/entities/UserEntityService.ts @@ -344,7 +344,6 @@ export class UserEntityService implements OnModuleInit { host: user.host, avatarUrl: user.avatarUrl ?? this.getIdenticonUrl(user), avatarBlurhash: user.avatarBlurhash, - description: profile!.description, createdAt: user.createdAt.toISOString(), isBot: user.isBot ?? falsy, isCat: user.isCat ?? falsy, @@ -383,6 +382,7 @@ export class UserEntityService implements OnModuleInit { isLocked: user.isLocked, isSilenced: this.roleService.getUserPolicies(user.id).then(r => !r.canPublicNote), isSuspended: user.isSuspended ?? falsy, + description: profile!.description, location: profile!.location, birthday: profile!.birthday, listenbrainz: profile!.listenbrainz,