Skip to content
This repository was archived by the owner on Jan 2, 2020. It is now read-only.

Commit 5410032

Browse files
tjl694Muyiwa Olu
authored andcommitted
Added PUT method to 'deposit_into_pot' HTTP request (#25)
1 parent 4833f7f commit 5410032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monzo/monzo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def deposit_into_pot(self, pot_id, account_id, amount_in_pennies):
270270
'dedupe_id': unique_string
271271
}
272272

273-
response = self.oauth_session.make_request(url, data=data)
273+
response = self.oauth_session.make_request(url, data=data, method='PUT')
274274
return response
275275

276276
def withdraw_from_pot(self, account_id, pot_id, amount_in_pennies):

0 commit comments

Comments
 (0)