Skip to content
This repository has been archived by the owner on Feb 14, 2025. It is now read-only.

Commit

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

# TODO: temp, to be removed
logger.info(f'request data: {data}')
logger.info(f'request data type: {type(data)}')
if not data or not data.get('csr'):
return (
jsonify(
Expand Down

0 comments on commit 651570d

Please sign in to comment.