Skip to content

Commit

Permalink
fix: fix body not being serialized somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeocodes committed Jan 25, 2024
1 parent f598162 commit 00c0025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/ReadClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class ReadClient extends AbstractRestfulClient {
let body;

if (isTextSource(source)) {
body = source;
body = JSON.stringify(source);
} else {
throw new DeepgramError("Unknown source type");
}
Expand Down

0 comments on commit 00c0025

Please sign in to comment.