chore(lint): burn down remaining warnings to zero

This commit is contained in:
William Valentin
2026-02-15 23:14:21 -08:00
parent 49b752e8b0
commit 948d4ac6d8
67 changed files with 235 additions and 256 deletions
+5 -1
View File
@@ -226,7 +226,11 @@ export class SlackAdapter implements ChannelAdapter {
}
try {
const result = await this.app!.client.users.info({ user: userId });
const app = this.app;
if (!app) {
return userId;
}
const result = await app.client.users.info({ user: userId });
const name = result.user?.real_name || result.user?.name || userId;
this.userNameCache.set(userId, { name, expiresAt: now + this.userNameCacheTtlMs });
if (this.userNameCache.size > this.userNameCacheMaxEntries) {