Skip to content

Commit ab814ca

Browse files
committed
fixup: update snapshots
1 parent bb85ce3 commit ab814ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/__snapshots__/index.spec.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
416416
headers['Authorization'] = \`Basic \${credentials}\`;
417417
}
418418

419-
if (options.body) {
419+
if (options.body !== undefined) {
420420
if (options.mediaType) {
421421
headers['Content-Type'] = options.mediaType;
422422
} else if (isBlob(options.body)) {
@@ -3723,7 +3723,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
37233723
headers['Authorization'] = \`Basic \${credentials}\`;
37243724
}
37253725

3726-
if (options.body) {
3726+
if (options.body !== undefined) {
37273727
if (options.mediaType) {
37283728
headers['Content-Type'] = options.mediaType;
37293729
} else if (isBlob(options.body)) {
@@ -4469,7 +4469,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
44694469
headers['Authorization'] = \`Basic \${credentials}\`;
44704470
}
44714471

4472-
if (options.body) {
4472+
if (options.body !== undefined) {
44734473
if (options.mediaType) {
44744474
headers['Content-Type'] = options.mediaType;
44754475
} else if (isBlob(options.body)) {

0 commit comments

Comments
 (0)