fix: tests

This commit is contained in:
Chirag Aggarwal
2025-01-14 10:43:32 +00:00
parent eee9c9d693
commit d43507040c
+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);