We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9022ef commit 363e32fCopy full SHA for 363e32f
client.ts
@@ -51,7 +51,7 @@ export default class DatadogApiClient {
51
const resp = await fetch(url, {
52
headers: this.headers,
53
method: opts.method ?? 'GET',
54
- body: opts.body ? JSON.stringify(opts.body) : "",
+ body: opts.body ? JSON.stringify(opts.body) : undefined,
55
});
56
57
const respBody = await resp.text();
0 commit comments