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

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Apr 17, 2024
1 parent 14159a9 commit e921644
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion confidant/routes/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def create_credential():
data_key=data_key['ciphertext'],
cipher_version=2,
modified_by=authnz.get_logged_in_user(),
documentation=documentation,
documentation=data.get('documentation'),
tags=data.get('tags', []),
last_rotation_date=last_rotation_date,
).save()
Expand Down
1 change: 0 additions & 1 deletion tests/unit/confidant/routes/credentials_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ def test_update_credential(mocker: MockerFixture, credential: Credential):
assert ret.status_code == 400
assert 'Credential Pairs cannot be empty.' == json_data['error']


# Credential name already exists (ie: query returns a value)
mocker.patch(
'confidant.routes.credentials.Credential.data_type_date_index.query',
Expand Down

0 comments on commit e921644

Please sign in to comment.