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

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Aug 28, 2024
1 parent 541cac2 commit dc1d454
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion confidant/routes/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ def get_credential(id):
try:
credential = Credential.get(id)
except DoesNotExist:
logger.warning('Item with id {0} does not exist.'.format(id))
logger.warning(
'Item with id {0} does not exist.'.format(id)
)
return jsonify({}), 404
if credential.data_type != 'credential':
return jsonify({}), 404
Expand Down

0 comments on commit dc1d454

Please sign in to comment.