user()->account->auditLogs() ->paginate($this->getLimitPerPage()); } catch (QueryException $e) { return $this->respondInvalidQuery(); } return AuditLogResource::collection($logs); } }