trivial fixes

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

No files matched your search

+1 -1
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);
+1 -1
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) {