Skip to content

Commit bb61d7c

Browse files
committed
WIP remove accept_connection function from connections controller as
* it might be confusing to the user and * cripples the functionality of enclosed receive and accept invitation functions
1 parent ddfad73 commit bb61d7c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

aries_cloudcontroller/controllers/connections.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ def default_handler(self, payload):
2929
connection.update_state(state)
3030
logger.debug(f"{connection_id} state updated")
3131

32-
# Combines receive and accept connection api calls
33-
async def accept_connection(self, invitation):
34-
response = await self.receive_invitation(invitation)
35-
36-
accepted = await self.accept_invitation(response["connection_id"])
37-
return accepted
38-
3932
### TODO refactor to extract out generic base - /connections
4033

4134
async def get_connections(

0 commit comments

Comments
 (0)