소스 검색

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
         }