瀏覽代碼

Refactor router

Shun Miyazawa 1 年之前
父節點
當前提交
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
         }