diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-08 16:52:06 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-08 16:52:06 +0900 |
| commit | ed79710c2bc23a4a974c917d52915f5030df34d4 (patch) | |
| tree | a5ac7ec2c391627c92d4816a2fdbb2aceb1e2e70 /src/api | |
| parent | :v: :art: :v: (diff) | |
| download | sharkey-ed79710c2bc23a4a974c917d52915f5030df34d4.tar.gz sharkey-ed79710c2bc23a4a974c917d52915f5030df34d4.tar.bz2 sharkey-ed79710c2bc23a4a974c917d52915f5030df34d4.zip | |
Fix bug
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/endpoints/drive/stream.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/drive/stream.ts b/src/api/endpoints/drive/stream.ts index 58e7d11678..7ee255e5d1 100644 --- a/src/api/endpoints/drive/stream.ts +++ b/src/api/endpoints/drive/stream.ts @@ -39,7 +39,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => { _id: -1 }; const query = { - user_id: user._id + 'metadata.user_id': user._id } as any; if (sinceId) { sort._id = 1; |