From cb525f209ab996cc805848cab5d71192ad954709 Mon Sep 17 00:00:00 2001 From: Chad Miller Date: Mon, 5 Jan 2026 13:43:02 -0800 Subject: [PATCH] fix: route getRecord via ?repo= param MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/pds.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pds.js b/src/pds.js index 3d35ebc..6aa1838 100644 --- a/src/pds.js +++ b/src/pds.js @@ -1497,7 +1497,8 @@ async function handleRequest(request, env) { // Repo endpoints use ?repo= param instead of ?did= if (url.pathname === '/xrpc/com.atproto.repo.describeRepo' || - url.pathname === '/xrpc/com.atproto.repo.listRecords') { + url.pathname === '/xrpc/com.atproto.repo.listRecords' || + url.pathname === '/xrpc/com.atproto.repo.getRecord') { const repo = url.searchParams.get('repo') if (!repo) { return Response.json({ error: 'InvalidRequest', message: 'missing repo param' }, { status: 400 }) -- 2.51.2