소스 검색

add comment

Yuki Takei 2 년 전
부모
커밋
d89de3e1d6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/server/service/file-uploader/aws.ts

+ 1 - 1
apps/app/src/server/service/file-uploader/aws.ts

@@ -79,7 +79,7 @@ const S3Factory = (): S3Client => {
 };
 
 const getFilePathOnStorage = (attachment) => {
-  if (attachment.filePath != null) {
+  if (attachment.filePath != null) { // DEPRECATED: remains for backward compatibility for v3.3.x or below
     return attachment.filePath;
   }