Skip to content

Commit

Permalink
feat: transform media link mime type to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Amaro committed Feb 4, 2025
1 parent a40b81a commit cef9db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/models/ds_media_link.model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ class DSMediaLink {
static String _formatMimeType({
required final String? type,
}) =>
type?.replaceFirst('sticker/', 'image/') ?? '';
type?.toLowerCase().replaceFirst('sticker/', 'image/') ?? '';
}

0 comments on commit cef9db9

Please sign in to comment.