Closed heythisisnate closed 1 year ago
Crashes on this line when the HTTP call on the lines above result in a 401 Unauthorized response: https://github.com/konnected-io/konnected-security/blob/a9a4ab473161e3c7a981eb8a2b9176d611df5052/src/lfs/rest_endpoint.lua#L57
bad argument #1 to 'mode' (number expected, got nil) stack traceback: [C]: in function 'mode' ...ecurity/konnected-security/src/lfs/rest_endpoint.lua: in function <...ecurity/konnected-security/src/lfs/rest_endpoint.lua:38>
Local variable pin should be initialized by actuator.pin in the case when the initial HTTP GET for status fails. Manifested by this HomeBridge issue: https://github.com/konnected-io/homebridge-konnected/issues/8
pin
actuator.pin
Crashes on this line when the HTTP call on the lines above result in a 401 Unauthorized response: https://github.com/konnected-io/konnected-security/blob/a9a4ab473161e3c7a981eb8a2b9176d611df5052/src/lfs/rest_endpoint.lua#L57
Local variable
pin
should be initialized byactuator.pin
in the case when the initial HTTP GET for status fails. Manifested by this HomeBridge issue: https://github.com/konnected-io/homebridge-konnected/issues/8