Skip to content

Commit

Permalink
fix: don't allow PUT on history endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Crissium committed Jul 4, 2024
1 parent 78c3a7e commit ef908da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/api/management.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def dictionary_groupings() -> Response:
return response


@api.route('/management/history', methods=['GET', 'DELETE', 'PUT'])
@api.route('/management/history', methods=['GET', 'DELETE'])
def history() -> Response:
dicts = current_app.extensions['dictionaries']
if request.method == 'GET':
Expand Down

0 comments on commit ef908da

Please sign in to comment.