Skip to content

Commit

Permalink
fix(mixins): fix type issue in request_handling type assignment (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
willckoan authored Nov 23, 2023
1 parent e8298ff commit 8825788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/mixins/request_handling.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mixin RequestHandling on Recording {
final data = await dio.transformer.transformRequest(options);
List<int> bytes;
if (options.requestEncoder != null) {
bytes = options.requestEncoder!(data, options);
bytes = await options.requestEncoder!(data, options);
} else {
bytes = utf8.encode(data);
}
Expand Down

0 comments on commit 8825788

Please sign in to comment.