diff --git a/src/commands/serverCommand.ts b/src/commands/serverCommand.ts index a04d15e4..af138241 100644 --- a/src/commands/serverCommand.ts +++ b/src/commands/serverCommand.ts @@ -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) => {