Merge pull request #6222 from appwrite/fix-6177-user-accessed-at
Don't update User Accessed At for Users and Teams APIs
This commit is contained in:
commit
ec8c3b6bb8
2 changed files with 0 additions and 2 deletions
|
@ -491,7 +491,6 @@ App::post('/v1/teams/:teamId/memberships')
|
||||||
'tokens' => null,
|
'tokens' => null,
|
||||||
'memberships' => null,
|
'memberships' => null,
|
||||||
'search' => implode(' ', [$userId, $email, $name]),
|
'search' => implode(' ', [$userId, $email, $name]),
|
||||||
'accessedAt' => DateTime::now(),
|
|
||||||
])));
|
])));
|
||||||
} catch (Duplicate $th) {
|
} catch (Duplicate $th) {
|
||||||
throw new Exception(Exception::USER_ALREADY_EXISTS);
|
throw new Exception(Exception::USER_ALREADY_EXISTS);
|
||||||
|
|
|
@ -97,7 +97,6 @@ function createUser(string $hash, mixed $hashOptions, string $userId, ?string $e
|
||||||
'tokens' => null,
|
'tokens' => null,
|
||||||
'memberships' => null,
|
'memberships' => null,
|
||||||
'search' => implode(' ', [$userId, $email, $phone, $name]),
|
'search' => implode(' ', [$userId, $email, $phone, $name]),
|
||||||
'accessedAt' => DateTime::now(),
|
|
||||||
]));
|
]));
|
||||||
} catch (Duplicate $th) {
|
} catch (Duplicate $th) {
|
||||||
throw new Exception(Exception::USER_ALREADY_EXISTS);
|
throw new Exception(Exception::USER_ALREADY_EXISTS);
|
||||||
|
|
Loading…
Reference in a new issue