Skip to content

Commit 9029c01

Browse files
author
Matt Anderson
authored
Merge pull request #123 from packethost/fix-metros-path
fix metros URL with correct prefix path
2 parents 5655305 + 3f98034 commit 9029c01

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packet/Manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def list_facilities(self, params={}):
4343
return facilities
4444

4545
def list_metros(self, params={}):
46-
data = self.call_api("metros", params=params)
46+
data = self.call_api("locations/metros", params=params)
4747
metros = list()
4848
for jsoned in data["metros"]:
4949
metro = Metro(jsoned)

0 commit comments

Comments
 (0)