fix error

This commit is contained in:
Truong Vo 2024-09-21 11:21:13 +07:00
parent 73f762b822
commit db90658482
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class TechnicalController extends Controller
->orderBy('point', 'desc')
->get();
if ($technicals->isEmpty()) {
return AbstractController::ResultError("No technicals found for this user.");
return [];
}
// Chuẩn bị dữ liệu để trả về