Small fixes to signing related APIs
This commit is contained in:
parent
95e9cdaccc
commit
9601fd44f6
5 changed files with 15 additions and 9 deletions
|
@ -378,7 +378,7 @@ class Repository(RepositoryParamResource):
|
|||
'is_organization': repo.namespace_user.organization,
|
||||
'is_starred': is_starred,
|
||||
'status_token': repo.badge_token if not is_public else '',
|
||||
'trust_enabled': repo.trust_enabled,
|
||||
'trust_enabled': features.SIGNING and repo.trust_enabled,
|
||||
}
|
||||
|
||||
if stats is not None:
|
||||
|
|
Reference in a new issue