mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
All working reception and sending with webhook. Commands still to test. Update test adapter to use local files
This commit is contained in:
parent
b5a36b1169
commit
768714cc1a
7 changed files with 80 additions and 23 deletions
|
@ -87,7 +87,7 @@ namespace controllers\internals;
|
|||
{
|
||||
$extracted_command = [];
|
||||
|
||||
$decode_message = json_decode(trim($message));
|
||||
$decode_message = json_decode(trim($message), true);
|
||||
if ($decode_message === null)
|
||||
{
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue