From 65805d2fdd2a21a019a5d68f3f0148a331d20773 Mon Sep 17 00:00:00 2001 From: Shaenn Date: Fri, 18 Aug 2023 15:56:58 +0200 Subject: [PATCH] [CHG] Support for application/octet-stream application/octet-stream must be set format: 'blob' --- src/schema-routes/schema-routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/schema-routes/schema-routes.js b/src/schema-routes/schema-routes.js index 365f2328f..454a53a38 100644 --- a/src/schema-routes/schema-routes.js +++ b/src/schema-routes/schema-routes.js @@ -316,7 +316,8 @@ class SchemaRoutes { } if ( - _.some(contentTypes, (contentType) => _.includes(contentType, 'image/')) + _.some(contentTypes, (contentType) => _.includes(contentType, 'image/')) || + _.some(contentTypes, (contentType) => _.includes(contentType, 'application/octet-stream')) ) { return CONTENT_KIND.IMAGE; }