Source plugin (#963)
* Ensuring that we have default options for source plugins. * Handle duplicate serials. Serials are not unique across issuers. * Minor fix.
This commit is contained in:
parent
dc34652efd
commit
b66d7ce1fd
@ -63,7 +63,7 @@ def get_by_serial(serial):
|
||||
:param serial:
|
||||
:return:
|
||||
"""
|
||||
return Certificate.filter(Certificate.serial == serial).all()
|
||||
return Certificate.query.filter(Certificate.serial == serial).all()
|
||||
|
||||
|
||||
def delete(cert_id):
|
||||
|
Loading…
Reference in New Issue
Block a user