Skip to content

Commit ffaafc7

Browse files
Do not return cmsUserCredentials
1 parent a5b96dd commit ffaafc7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Endpoints/Cmses.php

-3
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,6 @@ public function updateUserCredentials(int $id, int $userId, CmsUserCredentials $
516516
return $response;
517517
}
518518

519-
$cmsUserCredentials = (new CmsUserCredentials())->fromArray($response->getData());
520-
521519
// Retrieve the CMS again, so we log affected clusters and can return the CMS object
522520
$retrieveResponse = $this->get($id);
523521
if (!$retrieveResponse->isSuccess()) {
@@ -532,7 +530,6 @@ public function updateUserCredentials(int $id, int $userId, CmsUserCredentials $
532530
->addAffectedCluster($cms->getClusterId());
533531

534532
return $response->setData([
535-
'cmsUserCredentials' => $cmsUserCredentials,
536533
'cms' => $cms,
537534
]);
538535
}

0 commit comments

Comments
 (0)