diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:39:14 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-28 16:39:14 +0900 |
| commit | 3d5cdb8d2d60932caf1d29b0581c7d6243e06e37 (patch) | |
| tree | 9c29d1062b08378d4c4cafe5976793616d45bc01 /src/api/streaming.ts | |
| parent | wip (diff) | |
| download | misskey-3d5cdb8d2d60932caf1d29b0581c7d6243e06e37.tar.gz misskey-3d5cdb8d2d60932caf1d29b0581c7d6243e06e37.tar.bz2 misskey-3d5cdb8d2d60932caf1d29b0581c7d6243e06e37.zip | |
wip
Diffstat (limited to 'src/api/streaming.ts')
| -rw-r--r-- | src/api/streaming.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<IUser> { // Fetch user const user: IUser = await User - .findOne({ _id: accessToken.user_id }); + .findOne({ _id: accessToken.userId }); resolve(user); } |