Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
meng-han committed Oct 16, 2024
1 parent 465b4a4 commit 472c754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confidant/routes/certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def get_certificate_from_csr(ca):
except CertificateAuthorityNotFoundError:
return jsonify({'error': 'Provided CA not found.'}), 404
data = request.get_json()

if not data or not data.get('csr'):
return (
jsonify(
Expand Down

0 comments on commit 472c754

Please sign in to comment.