From c06abc47680c1675a35f03dd6d3268f32eef88c4 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 16 Oct 2020 13:26:21 -0700 Subject: [PATCH] Rename 'channel' to 'channel_id' Tracking a change made to the (non-) schema of the database. Here 'channel_id' is more clear for how this is used, (where I would have expected 'channel' to be the actual name of the channel). --- turbot/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbot/views.py b/turbot/views.py index fdd5eeb..e05593d 100644 --- a/turbot/views.py +++ b/turbot/views.py @@ -47,7 +47,7 @@ def input(label, name, placeholder): } def hunt_block(hunt): - text = "{}: <#{}>".format(hunt['name'], hunt['channel']) + text = "{}: <#{}>".format(hunt['name'], hunt['channel_id']) return section(text_block(text)) def home(turb, user_id, body): -- 2.43.0