tangled
alpha
login
or
join now
evan.jarrett.net
/
at-container-registry
66
fork
atom
A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.
atcr.io
docker
container
atproto
go
66
fork
atom
overview
issues
1
pulls
pipelines
fix issue changing crew membership in admin panel
evan.jarrett.net
2 days ago
347e7ac8
11a8be14
verified
This commit was signed with the committer's
known signature
.
evan.jarrett.net
SSH Key Fingerprint:
SHA256:bznk0uVPp7XFOl67P0uTM1pCjf2A4ojeP/lsUE7uauQ=
2/2
lint.yaml
success
4min 39s
tests.yml
success
4min 26s
+2
-2
1 changed file
expand all
collapse all
unified
split
pkg
hold
pds
crew.go
+2
-2
pkg/hold/pds/crew.go
···
183
183
return nil
184
184
}
185
185
186
186
-
// Create updated record (PutRecord handles upsert with same rkey)
186
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
198
-
_, _, err = p.repomgr.PutRecord(ctx, p.uid, atproto.CrewCollection, rkey, newRecord)
198
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
}