1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

trivial fixes

This commit is contained in:
Damodar Lohani 2022-02-17 13:09:33 +00:00
parent 0b767c0b8a
commit 77babbf6d8
2 changed files with 2 additions and 2 deletions

View file

@ -116,7 +116,7 @@ function logError(Throwable $error, string $action, Utopia\Route $route = null)
Console::error('[Error] Line: ' . $error->getLine());
};
function getDevice($root): Device {
function getStorageDevice($root): Device {
switch (App::getEnv('_APP_STORAGE_DEVICE', Storage::DEVICE_LOCAL)) {
case Storage::DEVICE_LOCAL:default:
return new Local($root);

View file

@ -39,7 +39,7 @@ class BuildsV1 extends Worker
{
$type = $this->args['type'] ?? '';
$projectId = $this->args['projectId'] ?? '';
$functionId = $this->args['functionId'] ?? '';
$functionId = $this->args['resourceId'] ?? '';
$deploymentId = $this->args['deploymentId'] ?? '';
switch ($type) {