Revize 093d06df
Přidáno uživatelem Stanislav Král před asi 4 roky(ů)
src/dao/certificate_repository.py | ||
---|---|---|
53 | 53 |
# TODO assure that this is correct |
54 | 54 |
if certificate.type_id == ROOT_CA_ID: |
55 | 55 |
certificate.parent_id = last_id |
56 |
return self.update(last_id, certificate)
|
|
56 |
self.update(last_id, certificate) |
|
57 | 57 |
else: |
58 | 58 |
for usage_id, usage_value in certificate.usages.items(): |
59 | 59 |
if usage_value: |
Také k dispozici: Unified diff
Re #8472 - Fixed an issue in CertificateRepository.create() method where update result (boolean) was returned instead of the created ID