Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meng-han committed Oct 14, 2024
1 parent 8310800 commit 571f4c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion confidant/routes/certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ def get_ca(ca):
action="get",
resource_id=ca,
):
msg = f"{authnz.get_logged_in_user()} does not have access to get ca {ca}"
msg = f"""
{authnz.get_logged_in_user()} does not have access to get ca {ca}
"""
error_msg = {"error": msg, "reference": ca}
return jsonify(error_msg), 403

Expand Down

0 comments on commit 571f4c0

Please sign in to comment.