Update demon routes to use /v1/
This commit is contained in:
parent
15d38ce823
commit
b1834307d5
25 changed files with 55 additions and 67 deletions
|
@ -21,7 +21,7 @@ class CommandRepository extends BaseRepository implements CommandRepositoryInter
|
|||
{
|
||||
Assert::stringNotEmpty($command, 'First argument passed to send must be a non-empty string, received %s.');
|
||||
|
||||
return $this->getHttpClient()->request('POST', '/server/command', [
|
||||
return $this->getHttpClient()->request('POST', 'server/command', [
|
||||
'json' => [
|
||||
'command' => $command,
|
||||
],
|
||||
|
|
Reference in a new issue