10/14/1
This commit is contained in:
@@ -18,7 +18,7 @@ class OrderHistoryController extends GetxController {
|
||||
|
||||
Future getOrderHistoryByPassenger() async {
|
||||
var res = await CRUD().get(link: AppLink.getRides, payload: {
|
||||
'passenger_id': box.read(BoxName.pasengerID).toString(),
|
||||
'passenger_id': box.read(BoxName.passengerID).toString(),
|
||||
});
|
||||
if (res.toString() == 'failure') {
|
||||
Get.snackbar('failure', 'message');
|
||||
|
||||
Reference in New Issue
Block a user