diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index 0ba0af37c7..d343cb0e9e 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -10,9 +10,7 @@ use Utopia\App; use Utopia\Cache\Adapter\Filesystem; use Utopia\Cache\Cache; use Utopia\Config\Config; -use Utopia\Database\Database; use Utopia\Database\Document; -use Utopia\Database\Validator\Authorization; use Utopia\Image\Image; use Utopia\Validator\Boolean; use Utopia\Validator\HexColor; diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index b9acfc8506..636e521cc1 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -610,7 +610,6 @@ App::post('/v1/storage/buckets/:bucketId/files') '$id' => $fileId, '$read' => $read, '$write' => $write, - 'dateCreated' => \time(), 'bucketId' => $bucket->getId(), 'name' => $fileName, 'path' => $path,