This was creating a tuple where not intended, so causing invalid
blocks structure to be sent to Slack.
This was the cause of the recent bug preventing the Turbot Home view
from working (unless the user already belonged to every available
hunt).
hunt_link = "*<{}|{}>*".format(channel_url(channel_id), name)
- return section_block(text_block(hunt_link)),
+ return section_block(text_block(hunt_link))
def home(turb, user_id):
"""Returns a view to be published as the turbot home tab for user_id