From e74118af2d425fe8dbc871d1eaab0a555db22c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9cil=20Malone?= Date: Tue, 16 Apr 2019 09:54:27 -0300 Subject: [PATCH] Update actions.py Now, the method to get current is only 'current'. --- Full Code/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']