Skip to content

Commit acfe18a

Browse files
committed
Remove redundant code
1 parent 5362e8b commit acfe18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/eventParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ exports.getAcceptedImageFormatsFromHeaders = (headers) => {
7878
return headers.Accept.toLowerCase()
7979
.split(',')
8080
.map((mime) => {
81-
return specialFormats[mime.toLowerCase()] ?? null
81+
return specialFormats[mime] ?? null
8282
})
8383
.filter((e) => e !== null)
8484
}

0 commit comments

Comments
 (0)