Commit add97a9a by Oleksandr Barabash

fix on lowercase

parent 57f083a9
......@@ -342,7 +342,8 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
# TODO(s1z): Remove me when it's prod
if message.find("flow") == 0:
params = message.split(' ')
# Strip data again cause 'message' data is lower case
params = turn_context.activity.text.strip().split(' ')
if len(params) != 3:
response = await turn_context.send_activity(
"Incorrect syntax. Please the syntax below:<br/>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment