2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

70_LaMetric2: fix channels for app setter

git-svn-id: https://svn.fhem.de/fhem/trunk@18531 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-02-08 14:56:14 +00:00
parent 18af738e44
commit 5e74ba83d8

View File

@ -2023,6 +2023,8 @@ sub LaMetric2_SetNotification {
if ( defined( $h->{app} ) ) {
$notification{package} = $h->{app};
$notification{token} = $h->{token} if ( defined( $h->{token} ) );
$notification{channels} = $h->{channels}
if ( defined( $h->{channels} ) );
return LaMetric2_SetApp( $hash, "app", \%notification, $h->{app},
"push" );
}