Skip to content

Commit

Permalink
fix: Change default type for response
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis L committed Nov 18, 2022
1 parent b74f1a0 commit f8c35e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/datadome.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ class DataDome {
Map<String, String> responseHeaders = new Map<String, String>.from(response?['headers'] ?? "");

http.Response httpResponse = http.Response.bytes(
response?['data'] ?? "",
response?['code'] ?? "",
headers: responseHeaders
response?['data'] ?? [],
response?['code'] ?? [],
headers: responseHeaders
);

return httpResponse;
Expand Down

0 comments on commit f8c35e9

Please sign in to comment.