changes
This commit is contained in:
parent
2eee7aa68f
commit
d0dc47f859
@ -32,7 +32,6 @@ class PlacesRepository extends ApiInterface {
|
|||||||
//debugPrint("length: ${data?.length}");
|
//debugPrint("length: ${data?.length}");
|
||||||
return data;
|
return data;
|
||||||
} on DioException catch (e) {
|
} on DioException catch (e) {
|
||||||
if (e.response != null) {
|
|
||||||
onError?.call(e.error?.toString());
|
onError?.call(e.error?.toString());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user