Whoops
This commit is contained in:
		
							parent
							
								
									56e2cac85f
								
							
						
					
					
						commit
						9b9875a31b
					
				| @ -40,11 +40,9 @@ class DaemonServerRepository extends DaemonRepository | |||||||
|         Assert::isInstanceOf($this->server, Server::class); |         Assert::isInstanceOf($this->server, Server::class); | ||||||
| 
 | 
 | ||||||
|         try { |         try { | ||||||
|             $this->getHttpClient()->post('/api/servers', [ |             $response = $this->getHttpClient()->post('/api/servers', [ | ||||||
|                 'json' => [ |  | ||||||
|                 'uuid' => $this->server->uuid, |                 'uuid' => $this->server->uuid, | ||||||
|                 'start_on_completion' => $startOnCompletion, |                 'start_on_completion' => $startOnCompletion, | ||||||
|                 ], |  | ||||||
|             ]); |             ]); | ||||||
|         } catch (GuzzleException $exception) { |         } catch (GuzzleException $exception) { | ||||||
|             throw new DaemonConnectionException($exception); |             throw new DaemonConnectionException($exception); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lance Pioch
						Lance Pioch