zamis 5 лет назад
Родитель
Сommit
4f28934be9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/service/file-uploader/gridfs.js

+ 1 - 1
src/server/service/file-uploader/gridfs.js

@@ -16,7 +16,7 @@ module.exports = function(crowi) {
     connection: mongoose.connection,
     connection: mongoose.connection,
   });
   });
   // get Collection instance of chunk
   // get Collection instance of chunk
-  // const unorderChunkCollection = chunkCollection.initializeUnorderedBulkOp();
+  // const chunkCollection = mongoose.connection.collection(CHUNK_COLLECTION_NAME);
 
 
   // create promisified method
   // create promisified method
   AttachmentFile.promisifiedWrite = util.promisify(AttachmentFile.write).bind(AttachmentFile);
   AttachmentFile.promisifiedWrite = util.promisify(AttachmentFile.write).bind(AttachmentFile);