Skip to content

Commit 00c0025

Browse files
committed
fix: fix body not being serialized somehow
1 parent f598162 commit 00c0025

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/packages/ReadClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class ReadClient extends AbstractRestfulClient {
132132
let body;
133133

134134
if (isTextSource(source)) {
135-
body = source;
135+
body = JSON.stringify(source);
136136
} else {
137137
throw new DeepgramError("Unknown source type");
138138
}

0 commit comments

Comments
 (0)