From 0c077c2588c2cd28291022bd408f7e028e438bcf Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sun, 22 Mar 2026 16:33:14 +0100 Subject: [PATCH] fix: remove duplicate cachedUrl declaration in resolveActorUrl (merge artifact) Co-Authored-By: Claude Sonnet 4.6 --- lib/mastodon/routes/accounts.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/mastodon/routes/accounts.js b/lib/mastodon/routes/accounts.js index 49f90eb..07a0ddb 100644 --- a/lib/mastodon/routes/accounts.js +++ b/lib/mastodon/routes/accounts.js @@ -767,10 +767,6 @@ async function resolveActorUrl(id, collections) { } } - // Check account cache reverse lookup (populated by resolveRemoteAccount) - const cachedUrl = getActorUrlFromId(id); - if (cachedUrl) return cachedUrl; - return null; }