Skip to content

Commit

Permalink
Merge a8092dc into fe8c2b4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Margarida Silva committed Jul 12, 2021
2 parents fe8c2b4 + a8092dc commit c517575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/api/api.js
Expand Up @@ -185,7 +185,7 @@ export class API extends Observable {

if (
typeof value === "object" &&
!Array.isArray(value) &&
!(value instanceof Array) &&
value.constructor !== Uint8Array
) {
const headerL = [];
Expand All @@ -196,7 +196,7 @@ export class API extends Observable {
}
value = data;
header = headerL.join("\r\n");
} else if (Array.isArray(value)) {
} else if (value instanceof Array) {
let name = null;
let contents = null;
let contentTypeD = null;
Expand Down

0 comments on commit c517575

Please sign in to comment.