Skip to content

Commit df34bfc

Browse files
author
Daniel Flack
committed
Fixed port issues
1 parent 5436e07 commit df34bfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Networking/v2/Models/Port.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ public function bulkCreate(array $userOptions): array
148148

149149
public function retrieve()
150150
{
151-
$response = $this->execute($this->api->postNetwork(), $data);
152-
return $this->populateFromResponse($response);
151+
$response = $this->execute($this->api->getPort(), ['id' => (string)$this->id]);
152+
$this->populateFromResponse($response);
153153
}
154154

155155
public function update()

0 commit comments

Comments
 (0)