Skip to content

Commit

Permalink
Merge pull request #239 from deepgram/lo/fix-types-error
Browse files Browse the repository at this point in the history
fix: fix body not being serialized somehow
  • Loading branch information
lukeocodes authored Jan 25, 2024
2 parents f598162 + 00c0025 commit a330a3c
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 a330a3c

Please sign in to comment.