1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

feat: add todos

This commit is contained in:
Christy Jacob 2022-11-17 08:04:05 +00:00
parent 99c6dfb4ae
commit b989a35b62
2 changed files with 2 additions and 2 deletions

View file

@ -494,7 +494,7 @@ App::post('/v1/storage/buckets/:bucketId/files')
}
if ($chunksUploaded === $chunks) {
$connection = App::getEnv('_APP_CONNECTIONS_STORAGE', '');
$connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); /** @TODO : move this to the registry or someplace else */
$device = STORAGE_DEVICE_LOCAL;
try {
$dsn = new DSN($connection);

View file

@ -79,7 +79,7 @@ class BuildsV1 extends Worker
throw new Exception('Runtime "' . $function->getAttribute('runtime', '') . '" is not supported');
}
$connection = App::getEnv('_APP_CONNECTIONS_STORAGE', '');
$connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); /** @TODO : move this to the registry or someplace else */
$device = STORAGE_DEVICE_LOCAL;
try {
$dsn = new DSN($connection);