Fixes: ProductViewSet

This commit is contained in:
Egor Pavlovich Gorbunov 2025-06-08 17:00:05 +03:00
parent 52b9f5fa35
commit b413f98d7f

View file

@ -219,7 +219,7 @@ class ProductViewSet(EvibesViewSet):
if not obj:
name = "Product"
raise Http404(f"{name} does not exist: {uuid}")
raise Http404(f"{name} does not exist: {lookup_value}")
self.check_object_permissions(self.request, obj)
return obj