Skip to content

Commit

Permalink
Fix for #259 (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
JEuler authored May 31, 2021
1 parent f25fbe4 commit 3d47735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chopper/lib/src/base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,11 @@ class ChopperClient {
var updatedRequest = await authenticator!.authenticate(request, res);

if (updatedRequest != null) {
res = await send(updatedRequest);
res = await send<BodyType, InnerType>(updatedRequest);
}
}

if (_responseIsSuccessful(response.statusCode)) {
if (_responseIsSuccessful(res.statusCode)) {
res = await _handleSuccessResponse<BodyType, InnerType>(
res,
responseConverter,
Expand Down

0 comments on commit 3d47735

Please sign in to comment.