Merge branch 'saveComponent' into feature/store
This commit is contained in:
commit
4b09ced2ec
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ def save_store_api_key(
|
||||||
try:
|
try:
|
||||||
# Encrypt the API key
|
# Encrypt the API key
|
||||||
encrypted = auth_utils.encrypt_api_key(
|
encrypted = auth_utils.encrypt_api_key(
|
||||||
api_key, fernet=auth_utils.get_fernet(settings_service)
|
api_key, settings_service=settings_service
|
||||||
)
|
)
|
||||||
current_user.store_api_key = encrypted
|
current_user.store_api_key = encrypted
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue