From 8f4f6a4dd5b4a606c16e6d5c793a815e8f409968 Mon Sep 17 00:00:00 2001
From: Trevor Wang <trevor.wang@qq.com>
Date: Mon, 1 Jul 2024 21:23:18 +0800
Subject: [PATCH] fix: fix error testing

---
 example/lib/auth_client.dart | 1 +
 example/lib/example.dart     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/example/lib/auth_client.dart b/example/lib/auth_client.dart
index 0cf926c39..5b2abd12c 100644
--- a/example/lib/auth_client.dart
+++ b/example/lib/auth_client.dart
@@ -1,4 +1,5 @@
 import 'package:dio/dio.dart';
+import 'package:retrofit/error_logger.dart';
 import 'package:retrofit/retrofit.dart';
 
 part 'auth_client.g.dart';
diff --git a/example/lib/example.dart b/example/lib/example.dart
index 6ebc6dd4f..87a275c96 100644
--- a/example/lib/example.dart
+++ b/example/lib/example.dart
@@ -4,6 +4,7 @@ import 'dart:io';
 import 'package:dio/dio.dart' hide Headers;
 import 'package:http_parser/http_parser.dart' show MediaType;
 import 'package:json_annotation/json_annotation.dart';
+import 'package:retrofit/error_logger.dart';
 import 'package:retrofit/retrofit.dart';
 import 'package:retrofit_example/api_result.dart';
 
@@ -180,7 +181,7 @@ abstract class RestClient {
   Future<String> postFile({@Body() required File file});
 
   @GET('')
-  Future<String> testCustomOptions(@DioOptions() Options options);
+  Future<String> testCustomOptions(@DioOptions() Options custom);
 
   @GET('/cancel')
   Future<String> cancelRequest(@CancelRequest() CancelToken cancelToken);