Fix issue on rawmode request

This commit is contained in:
Bjoern Kerler 2023-05-30 16:26:57 +02:00
parent 3cf600372b
commit e5ec2caada
No known key found for this signature in database
GPG key ID: 52E823BB96A55380

View file

@ -281,7 +281,7 @@ class firehose(metaclass=LogBase):
if resp["rawmode"] == "false":
if status:
log = self.xml.getlog(rdata)
return response(resp=status, data=resp, log=log)
return response(resp=status, data=rdata, log=log)
else:
error = self.xml.getlog(rdata)
return response(resp=status, error=error, data=resp, log=error)