From 3d5cdb8d2d60932caf1d29b0581c7d6243e06e37 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 28 Mar 2018 16:39:14 +0900 Subject: wip --- src/api/streaming.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/streaming.ts') diff --git a/src/api/streaming.ts b/src/api/streaming.ts index a6759e414c..31319fcab6 100644 --- a/src/api/streaming.ts +++ b/src/api/streaming.ts @@ -110,7 +110,7 @@ function authenticate(token: string): Promise { // Fetch user const user: IUser = await User - .findOne({ _id: accessToken.user_id }); + .findOne({ _id: accessToken.userId }); resolve(user); } -- cgit v1.2.3-freya