Skip to content

Commit

Permalink
Fix 500s on the certified repository when syncing signed collections. (
Browse files Browse the repository at this point in the history
  • Loading branch information
newswangerd authored Sep 16, 2022
1 parent 4f067a9 commit bce4d2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/1932.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix 500s on the certified repository when syncing signed collections.
2 changes: 1 addition & 1 deletion galaxy_ng/app/api/ui/serializers/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_signatures(self, obj):
sig = {}
sig["signature"] = bytes(signature.data).decode("utf-8")
sig["pubkey_fingerprint"] = signature.pubkey_fingerprint
sig["signing_service"] = signature.signing_service.name
sig["signing_service"] = getattr(signature.signing_service, "name", None)
data.append(sig)
return data

Expand Down

0 comments on commit bce4d2a

Please sign in to comment.