From 78aa03b2fba1ce28984c90e4879dbdcfe02bca7f Mon Sep 17 00:00:00 2001 From: Thastertyn Date: Sun, 10 Mar 2024 17:11:14 +0100 Subject: [PATCH] More RESTful name --- app/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/__init__.py b/app/api/__init__.py index c0c21b1..ef8e1ea 100644 --- a/app/api/__init__.py +++ b/app/api/__init__.py @@ -2,7 +2,7 @@ from flask import Blueprint bp_errors = Blueprint('errors', __name__) bp = Blueprint('api', __name__) -bp_product = Blueprint('product', __name__, url_prefix="/product") +bp_product = Blueprint('products', __name__, url_prefix="/products") bp_user = Blueprint('user', __name__, url_prefix="/user") bp_cart = Blueprint('cart', __name__, url_prefix="/cart")