From f7cf1ff2b28e165de7c0c68124cbb786b0524677 Mon Sep 17 00:00:00 2001 From: Georg-Stahn Date: Mon, 4 Dec 2023 22:45:33 +0100 Subject: [PATCH] georgs6 (#34) Reviewed-on: https://gitea.gchq.icu/IoSL/service-aware-frontend/pulls/34 --- pkgs/clan-cli/clan_cli/webui/routers/sql_connect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/webui/routers/sql_connect.py b/pkgs/clan-cli/clan_cli/webui/routers/sql_connect.py index 5a9f338..9a5c8b1 100644 --- a/pkgs/clan-cli/clan_cli/webui/routers/sql_connect.py +++ b/pkgs/clan-cli/clan_cli/webui/routers/sql_connect.py @@ -178,7 +178,7 @@ def get_attached_entities( return entities -@router.get("/api/v1/detach") +@router.post("/api/v1/detach") async def detach( background_tasks: BackgroundTasks, entity_did: str = "did:sov:test:1234", @@ -192,7 +192,7 @@ async def detach( return {"message": "Detaching in the background"} -@router.get("/api/v1/attach") +@router.post("/api/v1/attach") async def attach( background_tasks: BackgroundTasks, entity_did: str = "did:sov:test:1234",