Write a flask-restful version of cache-control. Remove the comments to add back in post methods.

This commit is contained in:
jakedt 2014-03-14 18:39:31 -04:00
parent 60015f0ae0
commit 092e236694
4 changed files with 18 additions and 5 deletions

View file

@ -93,7 +93,7 @@ class OrganizationTeam(ApiResource):
get_authenticated_user().username)
log_action('org_set_team_role', orgname, {'team': teamname, 'role': details['role']})
return team_view(orgname, team), 200 # 201 for post
return team_view(orgname, team), 200
abort(403)