6/8/1
This commit is contained in:
@@ -2623,9 +2623,10 @@ class MapPassengerController extends GetxController {
|
||||
if (jsonDecode(res)['message']['rating'] == null) {
|
||||
passengerRate = 5;
|
||||
} else {
|
||||
passengerRate =
|
||||
double.parse(jsonDecode(res)['message']['rating'].toString());
|
||||
passengerRate = jsonDecode(res)['message']['rating'];
|
||||
}
|
||||
} else {
|
||||
passengerRate = 5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user