diff --git a/lib/get_connect/http/src/http.dart b/lib/get_connect/http/src/http.dart index c1d927346..4631bca7a 100644 --- a/lib/get_connect/http/src/http.dart +++ b/lib/get_connect/http/src/http.dart @@ -90,7 +90,7 @@ class GetHttpClient { Uri createUri(String? url, Map? query) { if (baseUrl != null) { - url = baseUrl! + url!; + url = baseUrl! + url ?? ""; } final uri = Uri.parse(url!); if (query != null) {