Skip to content

Commit

Permalink
fix: do not override isImage flag when s3 bucket is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut committed Jul 23, 2024
1 parent 6c21d0e commit 725d836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class BaseFile {
name: this.fileName,
size: this.fileSize,
isStored: this.isStored,
isImage: !this.s3Bucket && this.isImage,
isImage: this.isImage,
originalImageInfo: this.imageInfo,
originalVideoInfo: this.videoInfo,
originalContentInfo: this.contentInfo,
Expand Down

0 comments on commit 725d836

Please sign in to comment.