fix: add pptx encoding try catch (#1393)

This commit is contained in:
heheer
2024-05-08 18:10:37 +08:00
committed by GitHub
parent 2e468fc8ca
commit 7b75a99ba2
3 changed files with 21 additions and 11 deletions

View File

@@ -28,6 +28,6 @@ try {
console.log(error);
}
export const MongoRwaTextBuffer: Model<RawTextBufferSchemaType> =
export const MongoRawTextBuffer: Model<RawTextBufferSchemaType> =
models[collectionName] || model(collectionName, RawTextBufferSchema);
MongoRwaTextBuffer.syncIndexes();
MongoRawTextBuffer.syncIndexes();