v.1.0.17
This commit is contained in:
@@ -103,9 +103,7 @@ class APIWebClient with Common, Logging {
|
||||
|
||||
log(" ------------get response code: ${result.statusCode}");
|
||||
if (result.statusCode == 200) {
|
||||
List<int> bytes = result.body.codeUnits;
|
||||
String decodedString = utf8.decode(bytes);
|
||||
return decodedString;
|
||||
return result.body;
|
||||
} else if (result.statusCode == 404) {
|
||||
throw const NotFoundException(message: "Not Found");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user