Correct spelling mistake

This commit is contained in:
Edward Betts 2025-01-16 18:37:07 -06:00
parent b76a6707f2
commit 1be844e57a

View file

@ -394,7 +394,7 @@ def save_done() -> str:
@app.route("/api/1/hits")
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")
assert title
ret = core.do_search(title)
@ -406,7 +406,7 @@ def api_hits() -> werkzeug.wrappers.response.Response:
@app.route("/api/1/valid_hit")
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_to = flask.request.args["link_to"]