1
0
Fork 1
mirror of https://example.com synced 2024-11-23 10:46:38 +09:00

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