MCPcopy Create free account
hub / github.com/msgbyte/tailchat / cleanUserInfoCache

Method cleanUserInfoCache

server/services/core/user/user.service.ts:1185–1187  ·  view source on GitHub ↗

* 根据用户ID清理缓存信息

(userId: string)

Source from the content-addressed store, hash-verified

1183 * 根据用户ID清理缓存信息
1184 */
1185 private async cleanUserInfoCache(userId: string) {
1186 await this.cleanActionCache('getUserInfo', [String(userId)]);
1187 }
1188
1189 /**
1190 * Transform returned user entity. Generate JWT token if neccessary.

Callers 4

banUserMethod · 0.95
unbanUserMethod · 0.95
ensurePluginBotMethod · 0.95
ensureOpenapiBotMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected