Skip to content

Commit

Permalink
add fix to arraybuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-Carneiro-KX committed Aug 31, 2023
1 parent 7b4c745 commit ae61caf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/serverCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ export async function getDataInsights(
}
return {
error: "",
arrayBuffer: response.data.buffer,
arrayBuffer: response.data.buffer
? response.data.buffer
: response.data,
};
})
.catch((error: any) => {
Expand Down

0 comments on commit ae61caf

Please sign in to comment.