Skip to content

Commit

Permalink
Update the getUser in order to retrive an Result Object again
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjoern Heneka committed Nov 1, 2018
1 parent 82a3517 commit ba509f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CognitoClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function getUser($username)
'Username' => $username,
'UserPoolId' => $this->userPoolId,
]);
return $response['data'];
return $response;
} catch (Exception $e) {
throw CognitoResponseException::createFromCognitoException($e);
}
Expand Down

0 comments on commit ba509f4

Please sign in to comment.