1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Fix missing accessedAt

This commit is contained in:
Jake Barnby 2023-08-22 21:36:04 -04:00
parent 339893f4f1
commit 537756551e
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -482,7 +482,8 @@ App::post('/v1/teams/:teamId/memberships')
'sessions' => null,
'tokens' => null,
'memberships' => null,
'search' => implode(' ', [$userId, $email, $name])
'search' => implode(' ', [$userId, $email, $name]),
'accessedAt' => DateTime::now(),
])));
} catch (Duplicate $th) {
throw new Exception(Exception::USER_ALREADY_EXISTS);