Skip to content

Commit

Permalink
Keep old API URL for compatibility (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jace authored Mar 5, 2024
1 parent 4f9a1af commit 1bb0901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boxoffice/views/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ def partial_refund_order(order: Order) -> ReturnRenderWith:
}


@app.route('/api/1/ic/<menu_id>/orders', methods=['GET', 'OPTIONS'])
@app.route('/api/1/menu/<menu_id>/orders', methods=['GET', 'OPTIONS'])
@load_models((ItemCollection, {'id': 'menu_id'}, 'menu'))
def menu_orders(menu: ItemCollection):
Expand Down

0 comments on commit 1bb0901

Please sign in to comment.