Skip to content

Commit

Permalink
fix - Ad accounts stream
Browse files Browse the repository at this point in the history
  • Loading branch information
GtheSheep authored Mar 18, 2023
1 parent 5a217c5 commit f83dae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_tiktok/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class AdAccountsStream(TikTokStream):
def get_url_params(
self, context: Optional[dict], next_page_token: Optional[Any]
) -> Dict[str, Any]:
params: dict = {"advertiser_ids": "{advertiser_ids}".format(advertiser_ids=[str(self.config["advertiser_id"])])}
params: dict = {"advertiser_ids": "{advertiser_ids}".format(advertiser_ids=json.dumps([str(self.config["advertiser_id"])]))}
if next_page_token:
params["page"] = next_page_token
return params
Expand Down

0 comments on commit f83dae2

Please sign in to comment.