add query params to the log (#7493) (#7399)

Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
This commit is contained in:
nirajacharya2
2023-10-31 12:17:50 +05:45
committed by GitHub
co-authored by Sawjan Gurung
parent cc1f93eef1
commit cbfd894243
4 changed files with 23 additions and 20 deletions
@@ -870,8 +870,8 @@ trait Provisioning {
if (!$this->isTestingWithLdap()) {
// for graph api, we need to save the user id to be able to add it in some group
// can be fetched with the "onPremisesSamAccountName" i.e. userid
$this->graphContext->adminHasRetrievedUserUsingTheGraphApi($userAttributes['userid']);
$userAttributes['id'] = $this->getJsonDecodedResponse()['id'];
$response = $this->graphContext->adminHasRetrievedUserUsingTheGraphApi($userAttributes['userid']);
$userAttributes['id'] = $this->getJsonDecodedResponse($response)['id'];
} else {
$userAttributes['id'] = null;
}