Update user.ts

This commit is contained in:
syuilo 2020-02-01 11:09:29 +09:00
parent e2610c52f3
commit cb3dd91a8c
1 changed files with 1 additions and 1 deletions

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 ? {