mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-10-31 21:09:03 +00:00
No more initial ip in account constructor
This commit is contained in:
1 parent
80d2fb8871
commit
720a7b69a6
1 file changed
+1
-1
+1
-1
@@ -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