Skip to content

Commit

Permalink
changing personId to roomId (#5460)
Browse files Browse the repository at this point in the history
* changing personId to roomId

* fixed roomId mispelling on custom_json
  • Loading branch information
techBeck03 authored May 15, 2020
1 parent 983573d commit e0e4cfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa/core/channels/webexteams.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def send_image_url(
async def send_custom_json(
self, recipient_id: Text, json_message: Dict[Text, Any], **kwargs: Any
) -> None:
json_message.setdefault("roomID", recipient_id)
json_message.setdefault("roomId", recipient_id)
return self.api.messages.create(**json_message)


Expand Down Expand Up @@ -128,7 +128,7 @@ async def webhook(request: Request) -> HTTPResponse:
else:
metadata = self.get_metadata(request)
await self.process_message(
on_new_message, message.text, message.personId, metadata
on_new_message, message.text, message.roomId, metadata
)
return response.text("")

Expand Down

0 comments on commit e0e4cfa

Please sign in to comment.