10000 Keep mime type parameters · arangodb/arangodb@261df1d · GitHub
[go: up one dir, main page]

Skip to content

Commit 261df1d

Browse files
committed
Keep mime type parameters
1 parent 87aafdd commit 261df1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/common/modules/@arangodb/foxx/check-args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function normalizeMimeType (mime) {
3939
}
4040
const contentType = mimeTypes.contentType(mime) || mime;
4141
const parsed = ct.parse(contentType);
42-
return parsed.type;
42+
return ct.format(parsed);
4343
}
4444

4545
function runValidation (methodName, paramName, type, value) {

0 commit comments

Comments
 (0)
0