diff --git a/app/http.php b/app/http.php index 3dd6c56a..4793c46e 100644 --- a/app/http.php +++ b/app/http.php @@ -429,7 +429,7 @@ function removeAllRuntimes(Table $activeRuntimes, Orchestration $orchestration): * Copy code files from source to a temporary location on the executor */ if (!empty($source)) { - if (!$localDevice->transfer($source, $tmpSource, $sourceDevice)) { + if (!$sourceDevice->transfer($source, $tmpSource, $localDevice)) { throw new Exception('Failed to copy source code to temporary directory', 500); }; }