generated from Luis/nextjs-python-web-template
georgs6 (#34)
Reviewed-on: #34
This commit was merged in pull request #34.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user