Skip to content

Commit 2a52412

Browse files
authored
fix: update intercepted_client.dart
1 parent 0047a82 commit 2a52412

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/http/intercepted_client.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ class InterceptedClient extends BaseClient {
389389
BaseRequest interceptedRequest = request.copyWith();
390390
for (InterceptorContract interceptor in interceptors) {
391391
if (await interceptor.shouldInterceptRequest(
392-
request: interceptedRequest)) {
392+
request: interceptedRequest,
393+
)) {
393394
interceptedRequest = await interceptor.interceptRequest(
394395
request: interceptedRequest,
395396
);
@@ -404,7 +405,8 @@ class InterceptedClient extends BaseClient {
404405
BaseResponse interceptedResponse = response;
405406
for (InterceptorContract interceptor in interceptors) {
406407
if (await interceptor.shouldInterceptResponse(
407-
response: interceptedResponse)) {
408+
response: interceptedResponse,
409+
)) {
408410
interceptedResponse = await interceptor.interceptResponse(
409411
response: interceptedResponse,
410412
);

0 commit comments

Comments
 (0)