mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-10 06:07:54 +02:00
Move TwoFAccounts order saving to business service
This commit is contained in:
@ -132,7 +132,7 @@ class TwoFAccountController extends Controller
|
||||
{
|
||||
$validated = $request->validated();
|
||||
|
||||
TwoFAccount::setNewOrder($validated['orderedIds']);
|
||||
$this->twofaccountService->saveOrder($validated['orderedIds']);
|
||||
|
||||
return response()->json(['message' => 'order saved'], 200);
|
||||
}
|
||||
|
Reference in New Issue
Block a user