Skip to content

Commit c15d455

Browse files
author
Wesley Charles Blake
committed
fix keyissues in response
1 parent 949c4cb commit c15d455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slack_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def find_channel(name):
2525
print("conversations.list")
2626
logger.error("error: {}".format(r['error']))
2727
else:
28-
for ch in r['conversations']:
28+
for ch in r['channels']:
2929
if ch['name'] == name:
3030
CHANNEL_CACHE[name] = ch['id']
3131
return ch['id']

0 commit comments

Comments
 (0)