Merge pull request 'master' (#77) from master into dev

Reviewed-on: #77
This commit is contained in:
vincent.vo 2024-09-21 14:21:53 +10:00
commit ff5e31ee94
1 changed files with 1 additions and 1 deletions

View File

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