Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adcontextprotocol/adcp
/ invalidateModeratorCache
Function
invalidateModeratorCache
server/src/services/brand-logo-auth.ts:84–90 ·
view source on GitHub ↗
(userId?: string)
Source
from the content-addressed store, hash-verified
82
}
83
84
export
function
invalidateModeratorCache(userId?: string): void {
85
if
(userId) {
86
moderatorCache.delete(userId);
87
}
else
{
88
moderatorCache.clear();
89
}
90
}
Callers
nothing calls this directly
Calls
2
delete
Method · 0.80
clear
Method · 0.45
Tested by
no test coverage detected