Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bessudnov committed Nov 13, 2020
1 parent aba5b0a commit fafc148
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AmoCRM/Models/UserModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit fafc148

Please sign in to comment.