hunt_id = hunt['hunt_id']
channel_id = hunt['channel_id']
- response = turb.db.Table(hunt_id).scan()
+ response = turb.table.query(
+ KeyConditionExpression=(
+ Key('PK').eq('hunt-{}'.format(hunt_id)) &
+ Key('SK').begins_with('puzzle-')
+ )
+ )
puzzles = response['Items']
hunt_text = "*<{}|{}>*".format(channel_url(channel_id), name)