added configuration nav item to help reduce nav items w/ burnettk

This commit is contained in:
jasquat 2022-11-15 11:00:52 -05:00
parent 5fcc6fc877
commit bd37cfefa0
1 changed files with 1 additions and 1 deletions

View File

@ -1597,7 +1597,7 @@ def add_secret(body: Dict) -> Response:
def update_secret(key: str, body: dict) -> Response: def update_secret(key: str, body: dict) -> Response:
"""Update secret.""" """Update secret."""
SecretService().update_secret(key, body["value"], body["user_id"]) SecretService().update_secret(key, body["value"], g.user.id)
return Response(json.dumps({"ok": True}), status=200, mimetype="application/json") return Response(json.dumps({"ok": True}), status=200, mimetype="application/json")