A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix issue changing crew membership in admin panel

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