SFR-479 Remove dangling return

Removes old `base` response that was never reached in any case
add-new-regnum-params
Mike Benowitz 2019-06-04 17:12:04 -04:00
parent 2a0dc11a62
commit f890aaf87b
1 changed files with 0 additions and 9 deletions

View File

@ -11,12 +11,3 @@ APP_VERSION = 'v0.1'
@bp.route('/')
def query():
return redirect(url_for('flasgger.apidocs'))
return jsonify({
'version': APP_VERSION,
'endpoints': [
'/numbers/registration/<regnumber>',
'/numbers/renewal/<rennumber>',
'/text/fulltext?query=<text query here>'
]
})