Update: 2026-06-25 00:50:19

This commit is contained in:
Hamza-Ayed
2026-06-25 00:50:19 +03:00
parent 0671388e15
commit eeb4e21f87
12 changed files with 178 additions and 130 deletions

View File

@@ -25,7 +25,7 @@ class OrderHistoryController extends GetxController {
isloading = false;
update();
} else {
var jsonDecoded = jsonDecode(res);
var jsonDecoded = res is String ? jsonDecode(res) : res;
var rawData = jsonDecoded['data'] ?? jsonDecoded['message'];
orderHistoryListPassenger = rawData is List ? rawData : [];
isloading = false;