From cf7fc417616ad875fd6ff3942b2e72ae23b0cf23 Mon Sep 17 00:00:00 2001 From: jjbrunton Date: Fri, 22 May 2026 23:30:01 +0100 Subject: [PATCH] Fix username resolver: use www.reddit.com, not api.reddit.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit api.reddit.com/api/user_data_by_account_ids returns 404 without an OAuth token — which is why every chat in the dashboard sat on t2_xxx or unknown. The same path on www.reddit.com (with a .json suffix) is served unauthenticated and returns the expected user map. Switch the resolver to that host so enrichUsernames actually succeeds. Co-Authored-By: Claude Opus 4.7 --- src/bootstrap.ts | 4 +++- src/services/chat/service.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bootstrap.ts b/src/bootstrap.ts index 088786a..d318f5f 100644 --- a/src/bootstrap.ts +++ b/src/bootstrap.ts @@ -208,7 +208,9 @@ export async function bootstrap(config: Config, logger: Logger): Promise