Changed product route from /products/get to /products
This commit is contained in:
parent
69ca94c77b
commit
f23003e28d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user