diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py index 67a3e8ff5..55fae561f 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py @@ -429,21 +429,21 @@ async def _recognize_token( await context.send_activity( Activity( type="invokeResponse", - value=InvokeResponse(int(HTTPStatus.OK)), + value=InvokeResponse(status=HTTPStatus.OK), ) ) else: await context.send_activity( Activity( type="invokeResponse", - value=InvokeResponse(int(HTTPStatus.NOT_FOUND)), + value=InvokeResponse(status=HTTPStatus.NOT_FOUND), ) ) except Exception: await context.send_activity( Activity( type="invokeResponse", - value=InvokeResponse(int(HTTPStatus.INTERNAL_SERVER_ERROR)), + value=InvokeResponse(status=HTTPStatus.INTERNAL_SERVER_ERROR), ) ) elif self._is_token_exchange_request_invoke(context):