Remove incorrect line

This commit is contained in:
Oliver committed 2022-01-27 13:48:16 +11:00
1 parent 4a45ba3a44
commit 3127b1b34a
1 file changed
-2
-2
View File
@@ -469,8 +469,6 @@ class StockList(generics.ListCreateAPIView):
data = OrderedDict()
data.update(request.data)
data = request.data
quantity = data.get('quantity', None)
if quantity is None: