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:
Mike Helmick 2012-10-04 16:53:28 -04:00
parent cc31322102
commit a3967390e1
2 changed files with 54 additions and 18 deletions

View file

@ -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': {