mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-03-13 13:46:10 +00:00
No more initial ip in account constructor
This commit is contained in:
@@ -359,7 +359,7 @@ class Client
|
|||||||
$data = json_decode((string)$response->getBody(), true);
|
$data = json_decode((string)$response->getBody(), true);
|
||||||
$accountURL = $response->getHeaderLine('Location');
|
$accountURL = $response->getHeaderLine('Location');
|
||||||
$date = (new \DateTime())->setTimestamp(strtotime($data['createdAt']));
|
$date = (new \DateTime())->setTimestamp(strtotime($data['createdAt']));
|
||||||
return new Account($data['contact'], $date, ($data['status'] == 'valid'), $data['initialIp'], $accountURL);
|
return new Account($data['contact'], $date, ($data['status'] == 'valid'), $accountURL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user