Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Dec 10, 2022
1 parent aae7c88 commit e630bbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/o365/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def _create_request_content_default(hass, url, callback_view, account_name):
return o365configurator.async_request_config(
hass,
view_name,
callback_view.default_callback,
callback=callback_view.default_callback,
link_name=CONFIGURATOR_LINK_NAME,
link_url=url,
fields=CONFIGURATOR_FIELDS,
Expand Down Expand Up @@ -396,11 +396,11 @@ def default_callback(self, data):
)
return

account_data = self._hass.data[DOMAIN][self._account_name]
request_id = self._hass.data[DOMAIN][self._account_name]
do_setup(
self._hass, self._config, self._account, self._account_name, self._conf_type
)
self.configurator.async_request_done(self._hass, account_data)
self.configurator.async_request_done(self._hass, request_id)

self._log_authenticated(self._account_name)
return
Expand Down

0 comments on commit e630bbc

Please sign in to comment.