[livisismarthome] Small change in handleRemoval (#14975)
Follow-up #14946 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
762fa36415
commit
a65574a336
|
@ -365,10 +365,7 @@ public class LivisiBridgeHandler extends BaseBridgeHandler
|
|||
|
||||
@Override
|
||||
public void handleRemoval() {
|
||||
OAuthClientService oAuthService = this.oAuthService;
|
||||
if (oAuthService != null) {
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
}
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
super.handleRemoval();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue