where('tenant_code', $tenant->codigo) ->where('user_id', $request->user()->getKey()) ->orderByDesc('id') ->get(); return TicketResource::collection($tickets)->response(); } }