Răsfoiți Sursa

add comment

Yuki Takei 2 ani în urmă
părinte
comite
d89de3e1d6
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
   }