SFR-479 Remove dangling return
Removes old `base` response that was never reached in any caseadd-new-regnum-params
parent
2a0dc11a62
commit
f890aaf87b
|
@ -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>'
|
||||
]
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue