From 0610acbf6eef11a9a85cc35851150cb3cc072785 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 20 Mar 2017 13:54:59 +0900 Subject: #302 --- src/api/streaming.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/api/streaming.ts') diff --git a/src/api/streaming.ts b/src/api/streaming.ts index 17db59fd0a..e1d79481d3 100644 --- a/src/api/streaming.ts +++ b/src/api/streaming.ts @@ -62,10 +62,6 @@ function authenticate(connection: websocket.connection, token: string): Promise< const user = await User .findOne({ token: token - }, { - fields: { - _id: true - } }); resolve(user); -- cgit v1.2.3-freya