Use request.query (#13037)

Fixes #13036
This commit is contained in:
Paul Tarjan 2018-03-10 00:36:20 -08:00 committed by Paulus Schoutsen
parent 5726159dd4
commit c7c47a18a9

View File

@ -554,7 +554,7 @@ class WinkAuthCallbackView(HomeAssistantView):
from aiohttp import web from aiohttp import web
hass = request.app['hass'] hass = request.app['hass']
data = request.GET data = request.query
response_message = """Wink has been successfully authorized! response_message = """Wink has been successfully authorized!
You can close this window now! For the best results you should reboot You can close this window now! For the best results you should reboot