Update user.ts

This commit is contained in:
syuilo 2020-02-01 11:09:29 +09:00
parent 61b95a13fc
commit bfc1d7843c

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