diff --git a/packet/Manager.py b/packet/Manager.py index d8d1d59..4102bfc 100644 --- a/packet/Manager.py +++ b/packet/Manager.py @@ -43,7 +43,7 @@ def list_facilities(self, params={}): return facilities def list_metros(self, params={}): - data = self.call_api("metros", params=params) + data = self.call_api("locations/metros", params=params) metros = list() for jsoned in data["metros"]: metro = Metro(jsoned) diff --git a/test/fixtures/get_metros.json b/test/fixtures/get_locations_metros.json similarity index 100% rename from test/fixtures/get_metros.json rename to test/fixtures/get_locations_metros.json