Fixes: ProductViewSet
This commit is contained in:
parent
52b9f5fa35
commit
b413f98d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class ProductViewSet(EvibesViewSet):
|
||||||
|
|
||||||
if not obj:
|
if not obj:
|
||||||
name = "Product"
|
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)
|
self.check_object_permissions(self.request, obj)
|
||||||
return obj
|
return obj
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue