PUT /api/incidents -> POST /api/incidents

This commit is contained in:
slice 2018-07-18 12:46:58 -07:00
parent 11df05b998
commit cea693102f
No known key found for this signature in database
GPG Key ID: 1508C19D7436A26D
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ async def get_incidents(request, page: int):
return response.json(res)
@bp.put('/api/incidents')
@bp.post('/api/incidents')
@auth_route
async def create_incident(request):
"""Create a new incident and put it as ongoing by default."""