Skip to content

Commit

Permalink
Use mimeType in output too
Browse files Browse the repository at this point in the history
  • Loading branch information
llun committed Aug 20, 2024
1 parent 81981d1 commit 0374fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/medias/S3StorageFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class S3FileStorage implements MediaStorage {
type: presignedMedia.contentType.startsWith('video')
? MediaType.enum.video
: MediaType.enum.image,
mime_type: presignedMedia.contentType,
mime_type: mimeType,
url: `https://${this._host}/api/v1/files/${key}`,
preview_url: null,
text_url: null,
Expand Down

0 comments on commit 0374fe9

Please sign in to comment.