diff --git a/app/Http/Controllers/TwoFAccountController.php b/app/Http/Controllers/TwoFAccountController.php index 949a637f..d8e0f67f 100644 --- a/app/Http/Controllers/TwoFAccountController.php +++ b/app/Http/Controllers/TwoFAccountController.php @@ -17,7 +17,7 @@ class TwoFAccountController extends Controller */ public function index() { - return response()->json(TwoFAccount::all()->toArray()); + return response()->json(TwoFAccount::ordered()->get()->toArray()); }