Skip to content

Commit 8ba7008

Browse files
fix formatting
1 parent d2a2afb commit 8ba7008

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/core/src/fetch/__tests__/json.response.data.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,5 @@ describe('fetch/json.response.data', () => {
153153
meta: expect.anything(),
154154
});
155155
});
156-
157156
});
158157
});

packages/core/src/fetch/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export function createApiRequest<
168168
const hasNullBodyStatus = isNullBodyStatus(response.status);
169169
const [forPrepare, forError] = hasNullBodyStatus
170170
? [null, null]
171-
: response.body?.tee() ?? [null, null];
171+
: (response.body?.tee() ?? [null, null]);
172172

173173
const prepared = await prepareFx(new Response(forPrepare, response)).then(
174174
async (result) => {

0 commit comments

Comments
 (0)