Skip to content

Commit ebd38bc

Browse files
committed
Fixed not executing undefined check
1 parent 2a899e6 commit ebd38bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/BluetoothLePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ module.exports = {
477477
getCharacteristic(deviceId, serviceId, characteristicId).then(function (characteristic, deviceName) {
478478
var convertedCharacteristic = convertCharacteristic(characteristic);
479479
var descriptorValue;
480-
if (isNotification === null) {
480+
if (isNotification == null) {
481481
isNotification = convertedCharacteristic.properties.notify === 'true';
482482
}
483483

0 commit comments

Comments
 (0)