Skip to content

Commit 3fcf2aa

Browse files
committed
Address feedback. fix typo and add param for invite_options
1 parent fc8630e commit 3fcf2aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aries_cloudcontroller/controllers/connections.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ async def create_invitation(
7777
auto_accept: bool = None,
7878
public: str = None,
7979
multi_use: str = None,
80+
invite_options: {} = None,
8081
):
8182
params = {}
8283
if alias:
@@ -87,7 +88,7 @@ async def create_invitation(
8788
params["public"] = public
8889
if multi_use:
8990
params["multi_use"] = multi_use
90-
if invite_option:
91+
if invite_options:
9192
"""A dictionary of the form:
9293
{
9394
"mediation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
@@ -104,7 +105,7 @@ async def create_invitation(
104105
invite_details = await self.admin_POST(
105106
"/connections/create-invitation",
106107
params=params,
107-
json_data=invite_options
108+
json_data=invite_options,
108109
)
109110
else:
110111
invite_details = await self.admin_POST(

0 commit comments

Comments
 (0)