Update user.ts

This commit is contained in:
syuilo 2020-02-01 11:09:29 +09:00
parent e2610c52f3
commit cb3dd91a8c

View File

@ -229,7 +229,7 @@ export class UserRepository extends Repository<User> {
pendingReceivedFollowRequestsCount: FollowRequests.count({
followeeId: user.id
}),
integrations: profile?.integrations,
integrations: profile!.integrations,
} : {}),
...(opts.includeSecrets ? {