This commit is contained in:
syuilo 2019-04-10 18:10:09 +09:00
parent 048118aec2
commit 6cca1e19e6

View file

@ -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,