Skip to content

Commit 704bcf7

Browse files
use / in collections
1 parent 467f801 commit 704bcf7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/routes/category.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
bp = Blueprint("Category", __name__)
2626

2727

28-
@bp.route("")
28+
@bp.route("/")
2929
class CategoryCollection(MethodView):
3030
init_every_request = False
3131

app/routes/product.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
bp = Blueprint("Product", __name__)
2525

2626

27-
@bp.route("")
27+
@bp.route("/")
2828
class ProductCollection(MethodView):
2929
init_every_request = False
3030
_PER_PAGE = 10

app/routes/subcategory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
bp = Blueprint("Subcategory", __name__)
2727

2828

29-
@bp.route("")
29+
@bp.route("/")
3030
class SubcategoryCollection(MethodView):
3131
init_every_request = False
3232

0 commit comments

Comments
 (0)