mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-02 20:48:44 +05:00
fix http response
This commit is contained in:
1 parent
035bdebf64
commit
7e02797be8
1 file changed
+1
-1
@@ -78,7 +78,7 @@ class MegaView(HomeAssistantView):
|
||||
template.hass = hass
|
||||
ret = template.async_render(data)
|
||||
_LOGGER.debug('response %s', ret)
|
||||
ret = Response(body='', content_type='text/plain', headers={'Server': 's', 'Date': 'n'})
|
||||
Response(body='', content_type='text/plain', headers={'Server': 's', 'Date': 'n'})
|
||||
await hub.request(cmd=ret)
|
||||
return ret
|
||||
|
||||
|
||||
Reference in new issue
Block a user