A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go

fix issue changing crew membership in admin panel

evan.jarrett.net 347e7ac8 11a8be14

verified
+2 -2
+2 -2
pkg/hold/pds/crew.go
··· 183 return nil 184 } 185 186 - // Create updated record (PutRecord handles upsert with same rkey) 187 newRecord := &atproto.CrewRecord{ 188 Type: atproto.CrewCollection, 189 Member: existing.Member, ··· 195 } 196 197 rkey := atproto.CrewRecordKey(memberDID) 198 - _, _, err = p.repomgr.PutRecord(ctx, p.uid, atproto.CrewCollection, rkey, newRecord) 199 if err != nil { 200 return fmt.Errorf("failed to update crew record: %w", err) 201 }
··· 183 return nil 184 } 185 186 + // Create updated record (UpdateRecord handles in-place update with same rkey) 187 newRecord := &atproto.CrewRecord{ 188 Type: atproto.CrewCollection, 189 Member: existing.Member, ··· 195 } 196 197 rkey := atproto.CrewRecordKey(memberDID) 198 + _, err = p.repomgr.UpdateRecord(ctx, p.uid, atproto.CrewCollection, rkey, newRecord) 199 if err != nil { 200 return fmt.Errorf("failed to update crew record: %w", err) 201 }