fix(auth): invalidate user list after single-user delete#2971
fix(auth): invalidate user list after single-user delete#2971singhvishalkr wants to merge 1 commit intoappwrite:mainfrom
Conversation
Greptile SummaryAdds Confidence Score: 5/5Safe to merge — one-line targeted fix with no side effects. The change is minimal and correct: it adds the missing cache invalidation call in the success path, exactly matching how the batch-delete already handles it. No regressions are introduced. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(auth): invalidate user list after si..." | Re-trigger Greptile |
|
Polite bump -- 10 days since open, CI and greptile both green. Fix invalidates the user list after a single-user delete (closes appwrite/appwrite#10196). Happy to adjust if the maintainers want a different cache key. |
Fixes appwrite/appwrite#10196
After deleting a single user from the user detail view, the Auth panel user count was not updating because
invalidate(Dependencies.USERS)was missing (unlike batch delete which already had it).Added
invalidate(Dependencies.USERS)after successful single-user delete to refresh the user list and count.