1
0
Fork 0
mirror of synced 2024-07-01 04:30:59 +12:00

removes comments

This commit is contained in:
Prateek Banga 2023-09-14 01:07:30 +05:30
parent f8c9c2f39b
commit 15dd6863dd
3 changed files with 0 additions and 7 deletions

View file

@ -146,7 +146,6 @@ App::post('/v1/account')
'search' => implode(' ', [$userId, $email, $name]),
'accessedAt' => DateTime::now(),
]);
// remove internalId from new user
$user->removeAttribute('$internalId');
Authorization::skip(fn() => $dbForProject->createDocument('users', $user));
} catch (Duplicate) {
@ -655,7 +654,6 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
'search' => implode(' ', [$userId, $email, $name]),
'accessedAt' => DateTime::now(),
]);
// Remove internalId from new user
$user->removeAttribute('$internalId');
Authorization::skip(fn() => $dbForProject->createDocument('users', $user));
} catch (Duplicate) {
@ -959,7 +957,6 @@ App::post('/v1/account/sessions/magic-url')
'accessedAt' => DateTime::now(),
]);
// Remove internalId from new user
$user->removeAttribute('$internalId');
Authorization::skip(fn () => $dbForProject->createDocument('users', $user));
}
@ -1290,7 +1287,6 @@ App::post('/v1/account/sessions/phone')
'accessedAt' => DateTime::now(),
]);
// Remove internalId from new user
$user->removeAttribute('$internalId');
Authorization::skip(fn () => $dbForProject->createDocument('users', $user));
}
@ -1542,7 +1538,6 @@ App::post('/v1/account/sessions/anonymous')
'search' => $userId,
'accessedAt' => DateTime::now(),
]);
// Remove internalId from new user
$user->removeAttribute('$internalId');
Authorization::skip(fn() => $dbForProject->createDocument('users', $user));

View file

@ -1456,7 +1456,6 @@ App::post('/v1/functions/:functionId/deployments/:deploymentId/builds/:buildId')
$deploymentId = ID::unique();
// Remove internalId from new deployment
$deployment->removeAttribute('$internalId');
$deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([
'$id' => $deploymentId,

View file

@ -174,7 +174,6 @@ class CertificatesV1 extends Worker
$certificate = $this->dbForConsole->updateDocument('certificates', $certificate->getId(), $certificate);
} else {
// Remove internalId from new certificate
$certificate->removeAttribute('$internalId');
$certificate = $this->dbForConsole->createDocument('certificates', $certificate);
}