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

Commit

Permalink
fix create unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Apr 17, 2024
1 parent e921644 commit 57f6a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confidant/routes/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def create_credential():
credential_pairs = cipher.encrypt(credential_pairs)
last_rotation_date = misc.utcnow()

metadata = data.get('metadata')
metadata = data.get('metadata', {})
for key, value in metadata.items():
value = escape(value)
metadata[key] = value
Expand Down

0 comments on commit 57f6a03

Please sign in to comment.