summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/drive-file.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/models/drive-file.ts b/src/api/models/drive-file.ts
index 976c97e188..802ee5a5fe 100644
--- a/src/api/models/drive-file.ts
+++ b/src/api/models/drive-file.ts
@@ -3,8 +3,6 @@ import monkDb, { nativeDbConn } from '../../db/mongodb';
const collection = monkDb.get('drive_files.files');
-(collection as any).createIndex('md5'); // fuck type definition
-
export default collection as any; // fuck type definition
const getGridFSBucket = async (): Promise<mongodb.GridFSBucket> => {