fix: Se elimina Exception

This commit is contained in:
sinergia 2023-12-22 11:40:53 -05:00
parent 60f1eca39a
commit b23374955d

View File

@ -359,10 +359,8 @@ class Sale(metaclass=PoolMeta):
headers = { headers = {
"accept": 'application/json', "accept": 'application/json',
'Content-Type': 'application/json'} 'Content-Type': 'application/json'}
response = requests.post(url, data=json.dumps(content), requests.post(url, data=json.dumps(content),
headers=headers) headers=headers)
raise Exception(response)
class Line(metaclass=PoolMeta): class Line(metaclass=PoolMeta):