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

Commit

Permalink
fix update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Apr 17, 2024
1 parent da5b800 commit d5dff33
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 @@ -837,7 +837,7 @@ def update_credential(id):
if data.get('metadata') != _cred.metadata:
new_metadata = {
key: value
for key, value in data.get('metadata').items()
for key, value in data.get('metadata', {}).items()
if key not in _cred.metadata or
value != _cred.metadata.get(key)
}
Expand Down

0 comments on commit d5dff33

Please sign in to comment.