fix: tests

This commit is contained in:
Chirag Aggarwal committed 2025-01-14 10:43:48 +00:00
1 parent eee9c9d693
commit d43507040c
1 file changed
+1 -1
+1 -1
View File
@@ -588,7 +588,7 @@ App::post('/v1/teams/:teamId/memberships')
}
if (!$isPrivilegedUser && !$isAppUser) {
if ($isPrivilegedUser || $isAppUser) {
$dbForProject->purgeCachedDocument('users', $invitee->getId());
} else {
$url = Template::parseURL($url);