fix HASH ref
This commit is contained in:
parent
617ee64228
commit
6223122724
@ -46,7 +46,7 @@ use JSON;
|
|||||||
|
|
||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
|
|
||||||
my $version = "0.6.3";
|
my $version = "0.6.4";
|
||||||
my $bridgeapi = "1.6";
|
my $bridgeapi = "1.6";
|
||||||
|
|
||||||
|
|
||||||
@ -681,6 +681,8 @@ sub NUKIBridge_getCallbackList($) {
|
|||||||
|
|
||||||
|
|
||||||
my $decode_json = NUKIBridge_CallBlocking($hash,"callback/list",undef);
|
my $decode_json = NUKIBridge_CallBlocking($hash,"callback/list",undef);
|
||||||
|
return
|
||||||
|
unless ( ref($decode_json) eq 'HASH' );
|
||||||
|
|
||||||
Log3 $name, 4, "NUKIBridge ($name) - Callback data is collected and processed";
|
Log3 $name, 4, "NUKIBridge ($name) - Callback data is collected and processed";
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ use warnings;
|
|||||||
use JSON;
|
use JSON;
|
||||||
|
|
||||||
|
|
||||||
my $version = "0.6.3";
|
my $version = "0.6.4";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user