Skip to content

Commit

Permalink
Fix(enhanced-http): header intercepts
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 authored Oct 18, 2024
1 parent 5100c12 commit 7414076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/enhanced_http/lib/interceptor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class InterceptorOptions {
Function(dynamic e)? error;
Future<Map<String, String>> Function()? headers;

InterceptorOptions({this.response, this.error});
InterceptorOptions({this.response, this.error, this.headers});
}

class Interceptor {
Expand Down

0 comments on commit 7414076

Please # to comment.