Remove incorrect line

This commit is contained in:
Oliver 2022-01-27 13:48:16 +11:00
parent 4a45ba3a44
commit 3127b1b34a

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: