Incorrect route name fix
This commit is contained in:
parent
7086fbce95
commit
49516123c0
@ -92,7 +92,7 @@ def records_link(link):
|
|||||||
return flask.jsonify(msg=response[0]), response[1]
|
return flask.jsonify(msg=response[0]), response[1]
|
||||||
|
|
||||||
|
|
||||||
@app.route('/<link>/records', methods=['POST'])
|
@app.route('/<link>/delrecords', methods=['POST'])
|
||||||
def records_delete(link):
|
def records_delete(link):
|
||||||
response = del_link_records(link, auth.current_user())
|
response = del_link_records(link, auth.current_user())
|
||||||
return flask.jsonify(msg=response[0]), response[1]
|
return flask.jsonify(msg=response[0]), response[1]
|
Loading…
x
Reference in New Issue
Block a user