Error: wrong error
This commit is contained in:
parent
3fb57abe66
commit
e68a4abdf2
|
|
@ -498,7 +498,7 @@ class SOAllocationList(generics.ListCreateAPIView):
|
|||
kwargs['item_detail'] = str2bool(params.get('item_detail', False))
|
||||
kwargs['order_detail'] = str2bool(params.get('order_detail', False))
|
||||
kwargs['location_detail'] = str2bool(params.get('location_detail', False))
|
||||
except ArithmeticError:
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
return self.serializer_class(*args, **kwargs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue