From 537756551ece61aadb8fef03b4c45e22aea6bced Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 22 Aug 2023 21:36:04 -0400 Subject: [PATCH] Fix missing accessedAt --- app/controllers/api/teams.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index 99783d5660..f0a70435fc 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -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);