mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
Fix bug
This commit is contained in:
parent
048118aec2
commit
6cca1e19e6
1 changed files with 6 additions and 0 deletions
|
@ -154,6 +154,12 @@ export class UserRepository extends Repository<User> {
|
|||
}),
|
||||
} : {}),
|
||||
|
||||
...(opts.includeSecrets ? {
|
||||
clientData: profile.clientData,
|
||||
email: profile.email,
|
||||
emailVerified: profile.emailVerified,
|
||||
} : {}),
|
||||
|
||||
...(relation ? {
|
||||
isFollowing: relation.isFollowing,
|
||||
isFollowed: relation.isFollowed,
|
||||
|
|
Loading…
Reference in a new issue