pull/6/head
Rustem 2025-03-19 14:50:41 +05:00
parent 1a2788ea82
commit 7ee9e5bef1
1 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,10 @@ class MobileApiController extends Controller
];
}
}
if (empty($data)) {
$data = (object) [];
}
return response()->json($data);
}
@ -216,6 +220,9 @@ class MobileApiController extends Controller
];
}
if (empty($availableMarks)) {
$availableMarks = (object) [];
}
return response()->json($availableMarks);
}