Skip to content

Commit

Permalink
fix reference
Browse files Browse the repository at this point in the history
  • Loading branch information
oleurud committed Oct 14, 2019
1 parent 4416078 commit 7883599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cartoframes/data/observatory/repository/repo_client.py
@@ -1,6 +1,6 @@
from __future__ import absolute_import

from carto.do_datasets import DODatasetManager
from carto.do_subscriptions import DOSubscriptionManager

from ...clients import SQLClient
from ....auth import Credentials, get_default_credentials
Expand Down Expand Up @@ -91,7 +91,7 @@ def _get_purchased_dataset_ids(self):

def _fetch_purchased_datasets(self):
api_key_auth_client = self._user_credentials.get_api_key_auth_client()
do_manager = DODatasetManager(api_key_auth_client)
do_manager = DOSubscriptionManager(api_key_auth_client)
if do_manager is not None:
return do_manager.all()
return []
Expand Down

0 comments on commit 7883599

Please sign in to comment.