remove deprecated api csrf argument

This commit is contained in:
imperosol committed 2025-11-09 21:34:26 +01:00
1 parent 02f7e10729
commit 2e9e1b6a78
10 files changed
+66 -44

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ class ProductTypeController(ControllerBase):
def fetch_all(self):
return ProductType.objects.order_by("order")
@route.patch("/{type_id}/move")
@route.patch("/{type_id}/move", url_name="reorder_product_type")
def reorder(self, type_id: int, other_id: Query[ReorderProductTypeSchema]):
"""Change the order of a product type.