From f23003e28d13051bd34aad8a13d4c4f1047f069a Mon Sep 17 00:00:00 2001 From: Thastertyn Date: Wed, 13 Mar 2024 21:47:57 +0100 Subject: [PATCH] Changed product route from /products/get to /products --- app/api/routes/product_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/routes/product_routes.py b/app/api/routes/product_routes.py index a688e0f..d4dbb08 100644 --- a/app/api/routes/product_routes.py +++ b/app/api/routes/product_routes.py @@ -9,7 +9,7 @@ from app.api import bp_product from app.services.product_service import ProductService -@bp_product.route('/get', methods=['GET']) +@bp_product.route('', methods=['GET']) @swag_from(get_products_swagger) def get_products(): page = request.args.get('page', default=0, type=int)