From bfc1d7843c9f22e20da0e993e5b9ec1916dc7c65 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 25ce00cdc..3b7563a0a 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 ? {