Skip to content

Commit

Permalink
Fix re-login after reboot with 2fa (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
mib1185 committed Aug 13, 2024
1 parent 4ee2bab commit 93fd96e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/synology_dsm/synology_dsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ async def _request(
# see https://github.com/aerialls/synology-srm/pull/3
self._session_id = None
self._syno_token = None
self._device_token = None
return await self._request(request_method, api, method, params, False)
raise SynologyDSMAPIErrorException(
api, response["error"]["code"], response["error"].get("errors")
Expand Down

0 comments on commit 93fd96e

Please sign in to comment.