mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
temp-check: force purging cache
This commit is contained in:
@@ -777,6 +777,8 @@ App::shutdown()
|
||||
return;
|
||||
}
|
||||
|
||||
// Purge cache to ensure we get fresh session count
|
||||
$dbForProject->purgeCachedDocument('users', $userId);
|
||||
$user = $dbForProject->getDocument('users', $userId);
|
||||
if ($user->isEmpty()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user