Update app/Repositories/Daemon/DaemonFileRepository.php
This commit is contained in:
		
							parent
							
								
									c0b1345e90
								
							
						
					
					
						commit
						ad372a754e
					
				| @ -56,9 +56,7 @@ class DaemonFileRepository extends DaemonRepository | |||||||
|             return $this->getHttpClient() |             return $this->getHttpClient() | ||||||
|                 ->withQueryParameters(['file' => $path]) |                 ->withQueryParameters(['file' => $path]) | ||||||
|                 ->withBody($content) |                 ->withBody($content) | ||||||
|                 ->post( |                 ->post(sprintf('/api/servers/%s/files/write', $this->server->uuid)); | ||||||
|                     sprintf('/api/servers/%s/files/write', $this->server->uuid) |  | ||||||
|                 ); |  | ||||||
|         } catch (TransferException $exception) { |         } catch (TransferException $exception) { | ||||||
|             throw new DaemonConnectionException($exception); |             throw new DaemonConnectionException($exception); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Lance Pioch
						Lance Pioch