some fail in test deleted and added de/attach as post :)
All checks were successful
checks-impure / test (pull_request) Successful in 32s
checks / test (pull_request) Successful in 3m5s

This commit is contained in:
Georg-Stahn
2023-12-04 22:38:21 +01:00
parent 56c62fe3f7
commit 3a05626ec3
2 changed files with 2 additions and 128 deletions

View File

@@ -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",