Skip to content

Commit 85dedd6

Browse files
committed
made attributes optional in ET_TriggeredSend
1 parent 4384c00 commit 85dedd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FuelSDK/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def refresh_token(self, force_refresh = False):
181181
if (self.authToken is None):
182182
payload = {'clientId' : self.client_id, 'clientSecret' : self.client_secret, 'accessType': 'offline'}
183183
else:
184-
payload = {'clientId' : self.client_id, 'clientSecret' : self.client_secret, 'refreshToken' : self.refreshKey, 'accessType': 'offline', 'scope':'cas:'+ self.internalAuthToken}
184+
payload = {'clientId' : self.client_id, 'clientSecret' : self.client_secret, 'refreshToken' : self.refreshKey, 'accessType': 'offline'}
185185
if self.refreshKey:
186186
payload['refreshToken'] = self.refreshKey
187187

FuelSDK/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self):
119119

120120
class ET_TriggeredSend(ET_CUDSupport):
121121
subscribers = None
122-
122+
attributes = None
123123
def __init__(self):
124124
super(ET_TriggeredSend, self).__init__()
125125
self.obj_type = 'TriggeredSendDefinition'

0 commit comments

Comments
 (0)