mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-12 21:26:06 +00:00
remove restriction on sync.GetRecord
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user