[groupepsa] Small change in handleRemoval (#14977)
Follow-up #14943 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
cc6ecb4372
commit
b4551c365a
|
@ -143,9 +143,7 @@ public class GroupePSABridgeHandler extends BaseBridgeHandler {
|
|||
|
||||
@Override
|
||||
public void handleRemoval() {
|
||||
if (oAuthService != null) {
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
}
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
super.handleRemoval();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue