debug the return statement

This commit is contained in:
2025-03-05 09:56:13 +03:30
parent 67dbeee57b
commit 01b037f727

View File

@@ -19,11 +19,12 @@ class PermissionManagementController extends Controller
*/
public function index(Request $request): JsonResponse
{
return $this->successResponse(DataTableFacade::run(
return response()->json(DataTableFacade::run(
Permission::query(),
$request,
allowedFilters: ['*'],
allowedSortings: ['*']));
allowedSortings: ['*'])
);
}
/**