Adjusted appearance of car management page and removed debug prints

This commit is contained in:
Dennis Nemec
2026-01-09 13:12:03 +01:00
parent 3b5d58eb9d
commit 1848f47e7f
2 changed files with 14 additions and 25 deletions

View File

@ -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);