|
|
@ -125,6 +125,7 @@ def address_search(): |
|
|
|
|
|
|
|
|
@main.route('/plan_search') |
|
|
@main.route('/plan_search') |
|
|
def plan_search(): |
|
|
def plan_search(): |
|
|
|
|
|
## URI sent = plans=FIBRE-1000&plans=FIBRE-2500&plans=FIBRE-X |
|
|
plan_req: Dict[str] = request.args.to_dict(flat=False) |
|
|
plan_req: Dict[str] = request.args.to_dict(flat=False) |
|
|
if not plan_req or "plans" not in plan_req: |
|
|
if not plan_req or "plans" not in plan_req: |
|
|
return jsonify({"plans": []}), HTTPStatus.OK |
|
|
return jsonify({"plans": []}), HTTPStatus.OK |
|
|
|