···578578 return
579579 }
580580581581- // Support both captain and crew collections
582582- if collection != atproto.CaptainCollection && collection != atproto.CrewCollection {
583583- http.Error(w, "collection not found", http.StatusNotFound)
584584- return
585585- }
586586-587581 // Use repomgr to get record proof (repo head + all blocks in MST path to record)
588582 repoHead, blocks, err := h.pds.repomgr.GetRecordProof(r.Context(), h.pds.uid, collection, rkey)
589583 if err != nil {