Correct spelling mistake
This commit is contained in:
parent
b76a6707f2
commit
1be844e57a
|
@ -394,7 +394,7 @@ def save_done() -> str:
|
||||||
|
|
||||||
@app.route("/api/1/hits")
|
@app.route("/api/1/hits")
|
||||||
def api_hits() -> werkzeug.wrappers.response.Response:
|
def api_hits() -> werkzeug.wrappers.response.Response:
|
||||||
"""Return canidates for the given article title."""
|
"""Return candidates for the given article title."""
|
||||||
title = flask.request.args.get("title")
|
title = flask.request.args.get("title")
|
||||||
assert title
|
assert title
|
||||||
ret = core.do_search(title)
|
ret = core.do_search(title)
|
||||||
|
@ -406,7 +406,7 @@ def api_hits() -> werkzeug.wrappers.response.Response:
|
||||||
|
|
||||||
@app.route("/api/1/valid_hit")
|
@app.route("/api/1/valid_hit")
|
||||||
def api_valid_hit() -> werkzeug.wrappers.response.Response:
|
def api_valid_hit() -> werkzeug.wrappers.response.Response:
|
||||||
"""Return canidates for the given article title."""
|
"""Return candidates for the given article title."""
|
||||||
link_from = flask.request.args["link_from"]
|
link_from = flask.request.args["link_from"]
|
||||||
link_to = flask.request.args["link_to"]
|
link_to = flask.request.args["link_to"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue