mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-24 05:18:22 +00:00
fix secret delete
This commit is contained in:
parent
f4539d2715
commit
8ca5515c16
@ -56,7 +56,7 @@ def main():
|
||||
}
|
||||
columns_to_header_index_mappings = {}
|
||||
|
||||
user = UserModel.query.filter_by(username="test_user1").first()
|
||||
user = UserModel.query.first()
|
||||
|
||||
with open("tests/files/tickets.csv") as infile:
|
||||
reader = csv.reader(infile, delimiter=",")
|
||||
|
@ -1291,6 +1291,7 @@ def delete_secret(key: str) -> None:
|
||||
"""Delete secret."""
|
||||
current_user = UserService.current_user()
|
||||
SecretService.delete_secret(key, current_user.id)
|
||||
return Response(json.dumps({"ok": True}), status=200, mimetype="application/json")
|
||||
|
||||
|
||||
def add_allowed_process_path(body: dict) -> Any:
|
||||
|
Loading…
x
Reference in New Issue
Block a user