mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
trivial fixes
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user