master
ELF 5 years ago
parent b08c7748c9
commit 1e976d620b

@ -352,9 +352,9 @@ class GameSourceService {
$response = $client->post('/upload', [ $response = $client->post('/upload', [
'verify' => false, 'verify' => false,
'form_params' => [ 'form_params' => [
'file' => $gameId, 'file' => $localFilePath,
'dist' => $distFilePath, 'dist' => $distFilePath,
'is_delete_local' => 0, 'is_delete_local' => ($isDeleteLocal ? 1 : 0),
] ]
]); ]);
$result = (string)$response->getBody(); $result = (string)$response->getBody();

Loading…
Cancel
Save