From fde8421dac2ccf708f599014a515e3f854b49a85 Mon Sep 17 00:00:00 2001 From: Evan Jarrett Date: Wed, 22 Oct 2025 11:23:18 -0500 Subject: [PATCH] remove restriction on sync.GetRecord --- pkg/hold/pds/xrpc.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/hold/pds/xrpc.go b/pkg/hold/pds/xrpc.go index b90c1bd..ce2020e 100644 --- a/pkg/hold/pds/xrpc.go +++ b/pkg/hold/pds/xrpc.go @@ -578,12 +578,6 @@ func (h *XRPCHandler) HandleSyncGetRecord(w http.ResponseWriter, r *http.Request return } - // Support both captain and crew collections - if collection != atproto.CaptainCollection && collection != atproto.CrewCollection { - http.Error(w, "collection not found", http.StatusNotFound) - return - } - // Use repomgr to get record proof (repo head + all blocks in MST path to record) repoHead, blocks, err := h.pds.repomgr.GetRecordProof(r.Context(), h.pds.uid, collection, rkey) if err != nil {