Skip to content

Commit

Permalink
fix rules remote repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Predidit committed Jan 25, 2025
1 parent 886beae commit 7c11fb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/request/request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class Request {
Future<Response> get(url, {data, options, cancelToken, extra, bool shouldRethrow = false}) async {
Response response;
ResponseType resType = ResponseType.json;
options ??= Options();
if (extra != null) {
resType = extra!['resType'] ?? ResponseType.json;
if (extra['ua'] != null) {
Expand Down

0 comments on commit 7c11fb5

Please sign in to comment.