Update demon routes to use /v1/

This commit is contained in:
Dane Everitt
2017-09-30 21:00:24 -05:00
parent 15d38ce823
commit b1834307d5
25 changed files with 55 additions and 67 deletions

View File

@@ -27,7 +27,7 @@ class PowerRepository extends BaseRepository implements PowerRepositoryInterface
case self::SIGNAL_STOP:
case self::SIGNAL_RESTART:
case self::SIGNAL_KILL:
return $this->getHttpClient()->request('PUT', '/server/' . $this->getAccessServer() . '/power', [
return $this->getHttpClient()->request('PUT', 'server/' . $this->getAccessServer() . '/power', [
'json' => [
'action' => $signal,
],