9/11/1
This commit is contained in:
@@ -50,6 +50,7 @@ class CRUD {
|
||||
},
|
||||
);
|
||||
print(response.request);
|
||||
print(payload);
|
||||
|
||||
var jsonData = jsonDecode(response.body);
|
||||
if (response.statusCode == 200) {
|
||||
|
||||
@@ -31,8 +31,8 @@ class LocationController extends GetxController {
|
||||
|
||||
await CRUD().post(link: AppLink.addCarsLocationByPassenger, payload: {
|
||||
'driver_id': box.read(BoxName.driverID).toString(),
|
||||
'latitude': mylocation!.latitude.toString(),
|
||||
'longitude': mylocation!.longitude.toString(),
|
||||
'latitude': mylocation.latitude.toString(),
|
||||
'longitude': mylocation.longitude.toString(),
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user