summaryrefslogtreecommitdiff
path: root/src/api/streaming.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-03-20 13:54:59 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-03-20 13:55:04 +0900
commit0610acbf6eef11a9a85cc35851150cb3cc072785 (patch)
tree8d53c24c38ba7de3c64c4ff780c7f35d828ef554 /src/api/streaming.ts
parentMerge pull request #301 from syuilo/greenkeeper/gulp-uglify-2.1.1 (diff)
downloadsharkey-0610acbf6eef11a9a85cc35851150cb3cc072785.tar.gz
sharkey-0610acbf6eef11a9a85cc35851150cb3cc072785.tar.bz2
sharkey-0610acbf6eef11a9a85cc35851150cb3cc072785.zip
#302
Diffstat (limited to 'src/api/streaming.ts')
-rw-r--r--src/api/streaming.ts4
1 files changed, 0 insertions, 4 deletions
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);