Explorar el Código

Refactor router

Shun Miyazawa hace 11 meses
padre
commit
a389b3bab2
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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 }),
           attachment: attachment.toObject({ virtuals: true }),
         };
         };
 
 
-        const isVectorStoreCompatible_ = isVectorStoreCompatible(file);
-        if (isVectorStoreCompatible_) {
+        if (isVectorStoreCompatible(file)) {
           // TODO: https://redmine.weseek.co.jp/issues/165326
           // TODO: https://redmine.weseek.co.jp/issues/165326
           // Process for uploading to VectorStore
           // Process for uploading to VectorStore
         }
         }