From 98bf8df2978670379fe4ea904b489af03906c31d Mon Sep 17 00:00:00 2001 From: Vin Yam Date: Mon, 10 Jun 2019 12:38:56 -0700 Subject: [PATCH] fix pytaboola url order --- pytaboola/services/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytaboola/services/service.py b/pytaboola/services/service.py index b01edc6..94b3588 100644 --- a/pytaboola/services/service.py +++ b/pytaboola/services/service.py @@ -34,8 +34,8 @@ def __init__(self, client, account_id, campaign_id): def build_uri(self, endpoint=None): base_endpoint = '{}/{}/campaigns/{}/items/'.format(self.endpoint, - self.campaign_id, - self.account_id) + self.account_id, + self.campaign_id) if not endpoint: return base_endpoint while endpoint.startswith('/'):