Skip to content

Commit 6607c21

Browse files
authored
Merge pull request #178 from amadeus4dev/update-default-value
Update default value in post method
2 parents d2262c6 + 35fd7da commit 6607c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amadeus/mixins/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get(self, path, **params):
3939
'''
4040
return self.request('GET', path, params)
4141

42-
def post(self, path, params={}):
42+
def post(self, path, params=None):
4343
'''
4444
A helper function for making generic POST requests calls. It is used by
4545
every namespaced API POST method.

0 commit comments

Comments
 (0)