diff options
Diffstat (limited to 'api/__init__.py')
-rw-r--r-- | api/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/__init__.py b/api/__init__.py index dda12aa07..4622802df 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -57,9 +57,9 @@ class ApiResource(Resource): class Url(object): - def __init__(self, url, endpoint): + def __init__(self, url, target): super(Url, self).__init__() self.url = url - self.endpoint = endpoint + self.target = target common_utils.import_modules_from_package("api.resources") |