Skip to content

Commit

Permalink
updating the library accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmalloc committed Jan 16, 2014
1 parent 806cf61 commit 97c1960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/libs/polybanking.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_transactions(self, max_transaction=100):
data['max_transaction'] = max_transaction

try:
result = requests.get(self.server + '/api/transactions/', data=data).json()
result = requests.get(self.server + '/api/transactions/', params=data).json()
if result['result'] != 'ok':
return None

Expand All @@ -94,7 +94,7 @@ def get_transaction(self, reference):
data['reference'] = reference

try:
result = requests.get(self.server + '/api/transactions/' + reference + '/', data=data).json()
result = requests.get(self.server + '/api/transactions/' + reference + '/', params=data).json()
if result['result'] != 'ok':
return None

Expand All @@ -113,7 +113,7 @@ def get_transaction_logs(self, reference):
data['reference'] = reference

try:
result = requests.get(self.server + '/api/transactions/' + reference + '/logs/', data=data).json()
result = requests.get(self.server + '/api/transactions/' + reference + '/logs/', params=data).json()
if result['result'] != 'ok':
return None

Expand Down

0 comments on commit 97c1960

Please sign in to comment.