Moved around some code, support for removing and updating Profile Banners
Line 213 needs to check for status code as well now because remove/updating banner does not return content, only status code
This commit is contained in:
parent
cc31322102
commit
a3967390e1
2 changed files with 54 additions and 18 deletions
|
|
@ -160,9 +160,13 @@ api_table = {
|
|||
'method': 'POST',
|
||||
},
|
||||
'myTotals': {
|
||||
'url' : '/account/totals.json',
|
||||
'url': '/account/totals.json',
|
||||
'method': 'GET',
|
||||
},
|
||||
'removeProfileBanner': {
|
||||
'url': '/account/remove_profile_banner.json',
|
||||
'method': 'POST',
|
||||
},
|
||||
|
||||
# Favorites methods
|
||||
'getFavorites': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue