Skip to content

Commit db44dae

Browse files
committed
Fix typo for test
1 parent 9de5931 commit db44dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class TuyaDevice extends EventEmitter {
327327
try {
328328
packets = this.device.parser.parse(data);
329329

330-
if (this.this.nullPayloadOnJSONError) {
330+
if (this.nullPayloadOnJSONError) {
331331
for (const packet of packets) {
332332
if (packet.payload && packet.payload === 'json obj data unvalid') {
333333
this.emit('error', packet.payload);

0 commit comments

Comments
 (0)