Explorar o código

Set persisted ordering back

Bubka %!s(int64=4) %!d(string=hai) anos
pai
achega
04af792b58
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      app/Http/Controllers/TwoFAccountController.php

+ 1 - 2
app/Http/Controllers/TwoFAccountController.php

@@ -18,8 +18,7 @@ class TwoFAccountController extends Controller
      */
     public function index()
     {
-        return response()->json(TwoFAccount::ofGroup(Options::get('activeGroup'))->get()->toArray());
-        //return response()->json(TwoFAccount::ordered()->get()->toArray());
+        return response()->json(TwoFAccount::ofGroup(Options::get('activeGroup'))->ordered()->get()->toArray());
     }