From fafc14833e8dcbb567fd646aec1b334c73b2159e Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 13 Nov 2020 19:23:22 +0300 Subject: [PATCH] fix --- src/AmoCRM/Models/UserModel.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AmoCRM/Models/UserModel.php b/src/AmoCRM/Models/UserModel.php index 5eef20c2..b627dc8c 100644 --- a/src/AmoCRM/Models/UserModel.php +++ b/src/AmoCRM/Models/UserModel.php @@ -126,6 +126,8 @@ public function toArray(): array 'name' => $this->getName(), 'email' => $this->getEmail(), 'lang' => $this->getLang(), + 'uuid' => $this->getUuid(), + 'amojo_id' => $this->getAmojoId(), 'rights' => $this->getRights()->toArray(), 'roles' => is_null($this->getRoles()) ? null : $this->getRoles()->toArray(), 'groups' => is_null($this->getGroups()) ? null : $this->getGroups()->toArray(),