Yuki Takei 2 лет назад
Родитель
Сommit
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;
   }