Adjusted appearance of car management page and removed debug prints
This commit is contained in:
@ -28,11 +28,7 @@ class CarService {
|
||||
throw UserUnauthorized();
|
||||
}
|
||||
|
||||
var body = response.body;
|
||||
|
||||
debugPrint("BODY: $body");
|
||||
|
||||
Map<String, dynamic> responseJson = jsonDecode(body);
|
||||
Map<String, dynamic> responseJson = jsonDecode(response.body);
|
||||
CarAddResponseDTO responseDto = CarAddResponseDTO.fromJson(responseJson);
|
||||
|
||||
if (responseDto.succeeded == true) {
|
||||
@ -65,8 +61,6 @@ class CarService {
|
||||
}
|
||||
|
||||
Map<String, dynamic> responseJson = jsonDecode(response.body);
|
||||
debugPrint(responseJson.toString());
|
||||
|
||||
BasicResponseDTO responseDto = BasicResponseDTO.fromJson(responseJson);
|
||||
|
||||
if (responseDto.succeeded == true) {
|
||||
@ -96,7 +90,6 @@ class CarService {
|
||||
}
|
||||
|
||||
Map<String, dynamic> responseJson = jsonDecode(response.body);
|
||||
debugPrint(responseJson.toString());
|
||||
BasicResponseDTO responseDto = BasicResponseDTO.fromJson(responseJson);
|
||||
|
||||
if (responseDto.succeeded == true) {
|
||||
@ -127,10 +120,6 @@ class CarService {
|
||||
throw UserUnauthorized();
|
||||
}
|
||||
|
||||
var body = response.body;
|
||||
|
||||
debugPrint("BODY: $body");
|
||||
|
||||
Map<String, dynamic> responseJson = jsonDecode(response.body);
|
||||
CarGetResponseDTO responseDto = CarGetResponseDTO.fromJson(responseJson);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user