summaryrefslogtreecommitdiff
path: root/src/api/endpoints/drive/stream.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/endpoints/drive/stream.ts')
-rw-r--r--src/api/endpoints/drive/stream.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/drive/stream.ts b/src/api/endpoints/drive/stream.ts
index 8352c7dd4c..0f9cea9f1d 100644
--- a/src/api/endpoints/drive/stream.ts
+++ b/src/api/endpoints/drive/stream.ts
@@ -38,7 +38,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
_id: -1
};
const query = {
- 'metadata.user_id': user._id
+ 'metadata.userId': user._id
} as any;
if (sinceId) {
sort._id = 1;