Write a flask-restful version of cache-control. Remove the comments to add back in post methods.
This commit is contained in:
parent
60015f0ae0
commit
092e236694
4 changed files with 18 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue