Aktualisieren von Client.php

This commit is contained in:
envoyr authored and GitHub committed 2025-06-17 09:44:56 +02:00
1 parent c33c1c1e33
commit abd1beead7
1 file changed
+1 -1
+1 -1
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);
}
/**