Skip to content

Commit

Permalink
Set default includes for calling server api
Browse files Browse the repository at this point in the history
  • Loading branch information
TLingC committed Mar 7, 2020
1 parent 6810ec3 commit ba5a266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Actions/ManagesServers.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function servers(int $page = 1)
*
* @return Server
*/
public function server(int $serverId, array $includes = [])
public function server(int $serverId, array $includes = ['allocations'])
{
return $this->get("api/application/servers/$serverId".$this->include($includes));
}
Expand All @@ -40,7 +40,7 @@ public function server(int $serverId, array $includes = [])
*
* @return Server
*/
public function serverEx(int $externalId, array $includes = [])
public function serverEx(int $externalId, array $includes = ['allocations'])
{
return $this->get("api/application/servers/external/$externalId".$this->include($includes));
}
Expand Down

0 comments on commit ba5a266

Please sign in to comment.