Skip to content

Commit e7c2bcd

Browse files
author
brianmc
committed
Merge branch 'sunnyrajrathod-master' into future
2 parents 1ac42f7 + 9c7a1d4 commit e7c2bcd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

authorizenet/apicontrollers.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,15 @@ def getresponseclass(self):
111111
''' Returns the response class '''
112112
return apicontractsv1.ARBGetSubscriptionStatusResponse()
113113

114-
def afterExecute(self, response):
114+
def afterexecute(self):
115+
response = self._httpResponse
115116
if constants.StatusStart in response:
116117
response = response.replace(constants.note, '')
117118
start = response.index(constants.StatusStart)
118119
end = response.index(constants.StatusEnd)
119120
response = response.replace(response[start:end+9], '')
120-
return response
121+
self._httpResponse = response
122+
return
121123

122124
class ARBUpdateSubscriptionController(apicontrollersbase.APIOperationBase):
123125

0 commit comments

Comments
 (0)