Run Linter
This commit is contained in:
parent
9cb1cf418c
commit
d4b53e5014
|
@ -216,7 +216,7 @@ App::post('/v1/migrations/firebase')
|
||||||
if (!isset($serviceAccountData['project_id']) || !isset($serviceAccountData['client_email']) || !isset($serviceAccountData['private_key'])) {
|
if (!isset($serviceAccountData['project_id']) || !isset($serviceAccountData['client_email']) || !isset($serviceAccountData['private_key'])) {
|
||||||
throw new Exception(Exception::MIGRATION_PROVIDER_ERROR, 'Invalid Service Account JSON');
|
throw new Exception(Exception::MIGRATION_PROVIDER_ERROR, 'Invalid Service Account JSON');
|
||||||
}
|
}
|
||||||
|
|
||||||
$migration = $dbForProject->createDocument('migrations', new Document([
|
$migration = $dbForProject->createDocument('migrations', new Document([
|
||||||
'$id' => ID::unique(),
|
'$id' => ID::unique(),
|
||||||
'status' => 'pending',
|
'status' => 'pending',
|
||||||
|
|
Loading…
Reference in a new issue