Skip to content

Commit

Permalink
Merge pull request #10 from zhiephie/patch-1
Browse files Browse the repository at this point in the history
end point api changed.
  • Loading branch information
tayormi authored Mar 28, 2020
2 parents 4d64755 + 35ff573 commit 352c59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repositories/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ApiClient {
}
}
Future<http.Response> getCountryNews(String countryCode) async {
final url = '$baseUrl?countryTotal=$countryCode';
final url = '$baseUrl?countryNewsTotal=$countryCode';
return await http.get(url);
// try {
// final response = await _dio.get(url);
Expand Down

0 comments on commit 352c59f

Please sign in to comment.