From 8f98686e1df807eaf7d665cc59ce366ac95ae07a Mon Sep 17 00:00:00 2001 From: davidmarcos98 Date: Sat, 26 Feb 2022 17:05:11 +0000 Subject: [PATCH] Im clearly asleep today, fix naming --- datawrapper/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)