diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index 360e1ae818..4c4043de96 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -216,7 +216,7 @@ App::post('/v1/migrations/firebase') if (!isset($serviceAccountData['project_id']) || !isset($serviceAccountData['client_email']) || !isset($serviceAccountData['private_key'])) { throw new Exception(Exception::MIGRATION_PROVIDER_ERROR, 'Invalid Service Account JSON'); } - + $migration = $dbForProject->createDocument('migrations', new Document([ '$id' => ID::unique(), 'status' => 'pending',