Aktualisieren von Client.php

This commit is contained in:
2025-06-17 09:44:56 +02:00
committed by GitHub
parent c33c1c1e33
commit abd1beead7

View File

@@ -359,7 +359,7 @@ class Client
$data = json_decode((string)$response->getBody(), true);
$accountURL = $response->getHeaderLine('Location');
$date = (new \DateTime())->setTimestamp(strtotime($data['createdAt']));
return new Account($data['contact'], $date, ($data['status'] == 'valid'), $accountURL);
return new Account($date, ($data['status'] == 'valid'), $accountURL);
}
/**