diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index ad8ed2047f..4b54ac1037 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -247,7 +247,7 @@ App::post('/v1/projects') } if ($create || $projectTables) { - $adapter = new \Utopia\Audit\Adapters\Database($dbForProject); + $adapter = new \Utopia\Audit\Adapter\Database($dbForProject); $audit = new Audit($adapter); $audit->setup(); } diff --git a/src/Appwrite/Platform/Workers/Audits.php b/src/Appwrite/Platform/Workers/Audits.php index 369a67116d..c64591632d 100644 --- a/src/Appwrite/Platform/Workers/Audits.php +++ b/src/Appwrite/Platform/Workers/Audits.php @@ -4,7 +4,7 @@ namespace Appwrite\Platform\Workers; use Exception; use Throwable; -use Utopia\Audit\Adapters\Database as AdapterDatabase; +use Utopia\Audit\Adapter\Database as AdapterDatabase; use Utopia\Audit\Audit; use Utopia\CLI\Console; use Utopia\Database\Document;