mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-30 04:03:18 +01:00
Set TwoFAccount controller to return an ordered collection
This commit is contained in:
parent
2295613263
commit
a70606d57d
@ -17,7 +17,7 @@ class TwoFAccountController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return response()->json(TwoFAccount::all()->toArray());
|
return response()->json(TwoFAccount::ordered()->get()->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user