cqrs/services/orderinfo/main.py [88:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def order_get():
    json_data = request.get_json()
    customer_id, order_id = None, None
    invalid_fields = []
    for key in json_data.keys():
        if key == 'customer_id':
            customer_id = json_data[key]
        elif key == 'order_id':
            order_id = json_data[key]
        else:
            invalid_fields.append(key)
    if customer_id is None or order_id is None:
        return error500()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/order-async/main.py [90:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def order_get():
    json_data = request.get_json()
    customer_id, order_id = None, None
    invalid_fields = []
    for key in json_data.keys():
        if key == 'customer_id':
            customer_id = json_data[key]
        elif key == 'order_id':
            order_id = json_data[key]
        else:
            invalid_fields.append(key)
    if customer_id is None or order_id is None:
        return error500()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



