mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +02:00
Fix assignAccounts not returning a group resource
This commit is contained in:
parent
6bc3f74459
commit
f5e632b4e5
@ -104,7 +104,7 @@ class GroupController extends Controller
|
||||
|
||||
$this->groupService->assign($validated['ids'], $group);
|
||||
|
||||
return response()->json($group, 200);
|
||||
return new GroupResource($group);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user