Skip to content

Commit ba5a266

Browse files
author
TLingC
committed
Set default includes for calling server api
1 parent 6810ec3 commit ba5a266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Actions/ManagesServers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function servers(int $page = 1)
2727
*
2828
* @return Server
2929
*/
30-
public function server(int $serverId, array $includes = [])
30+
public function server(int $serverId, array $includes = ['allocations'])
3131
{
3232
return $this->get("api/application/servers/$serverId".$this->include($includes));
3333
}
@@ -40,7 +40,7 @@ public function server(int $serverId, array $includes = [])
4040
*
4141
* @return Server
4242
*/
43-
public function serverEx(int $externalId, array $includes = [])
43+
public function serverEx(int $externalId, array $includes = ['allocations'])
4444
{
4545
return $this->get("api/application/servers/external/$externalId".$this->include($includes));
4646
}

0 commit comments

Comments
 (0)