Skip to content

Commit

Permalink
added function for getting user details with avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
iambowodavid committed Jul 18, 2023
1 parent 787d836 commit 4d29f52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Services/AuthService.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ public function listUsersDetail(array $ids) {
]));
}

public function listUsersDetailWithAvatar(array $ids) {
return $this->handleRequest($this->client->post("/user/list?withAvatar=true", [
'ids' => $ids
]));
}

public function getUserId(string $id) {
return $this->handleRequest($this->client->get("/kyc/$id/id"));
}
Expand Down

0 comments on commit 4d29f52

Please sign in to comment.