diff --git a/datawrapper/__main__.py b/datawrapper/__main__.py index d00ff80..e391af3 100644 --- a/datawrapper/__main__.py +++ b/datawrapper/__main__.py @@ -662,9 +662,9 @@ def get_charts( if limit: _query["limit"] = str(limit) if folder_id: - _data["folderId"] = folder_id + _query["folderId"] = folder_id if team_id: - _data["teamId"] = team_id + _query["teamId"] = team_id get_charts_response = r.get(url=_url, headers=_header, params=_query)