MCPcopy 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
84export 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

deleteMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected