removes comments
This commit is contained in:
parent
f8c9c2f39b
commit
15dd6863dd
3 changed files with 0 additions and 7 deletions
|
@ -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));
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue