diff --git a/Full Code/actions.py b/Full Code/actions.py index 3fbd5d9..1592de6 100644 --- a/Full Code/actions.py +++ b/Full Code/actions.py @@ -15,7 +15,7 @@ def run(self, dispatcher, tracker, domain): client = ApixuClient(api_key) loc = tracker.get_slot('location') - current = client.getcurrent(q=loc) + current = client.current(q=loc) country = current['location']['country'] city = current['location']['name']