]> git.cworth.org Git - turbot/blobdiff - turbot/interaction.py
Fix call to find_hunt_for_hunt_id
[turbot] / turbot / interaction.py
index e0203894bfb8a6a9c76e916bf5668ad6c5d19f3f..69d4f2505d52a1fd1905b3c36298bfc8b068c466 100644 (file)
@@ -385,7 +385,7 @@ def edit_hunt_button(turb, payload):
     hunt_id = payload['actions'][0]['action_id']
     trigger_id = payload['trigger_id']
 
-    hunt = find_hunt_for_hunt_id(hunt_id)
+    hunt = find_hunt_for_hunt_id(turb, hunt_id)
 
     if not hunt:
         return bot_reply("Error: Hunt not found.")