From cb3dd91a8c6742a264668832d5f8aabce749e87d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Feb 2020 11:09:29 +0900 Subject: [PATCH] Update user.ts --- src/models/repositories/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/repositories/user.ts b/src/models/repositories/user.ts index 25ce00cdc4..3b7563a0a8 100644 --- a/src/models/repositories/user.ts +++ b/src/models/repositories/user.ts @@ -229,7 +229,7 @@ export class UserRepository extends Repository { pendingReceivedFollowRequestsCount: FollowRequests.count({ followeeId: user.id }), - integrations: profile?.integrations, + integrations: profile!.integrations, } : {}), ...(opts.includeSecrets ? {