Shun Miyazawa 11 месяцев назад
Родитель
Сommit
a389b3bab2
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      apps/app/src/server/routes/apiv3/attachment.js

+ 1 - 2
apps/app/src/server/routes/apiv3/attachment.js

@@ -369,8 +369,7 @@ module.exports = (crowi) => {
           attachment: attachment.toObject({ virtuals: true }),
         };
 
-        const isVectorStoreCompatible_ = isVectorStoreCompatible(file);
-        if (isVectorStoreCompatible_) {
+        if (isVectorStoreCompatible(file)) {
           // TODO: https://redmine.weseek.co.jp/issues/165326
           // Process for uploading to VectorStore
         }