user = $this->request->user; event('UserVisit', [$this->user, 'api']); } }