mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +02:00
No need for extra json_encode
This commit is contained in:
committed by
Haralan Dobrev
parent
7c2f58e7aa
commit
97eb782e8c
@@ -179,7 +179,7 @@ class SlackRecord
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$dataArray['attachments'] = json_encode(array($attachment));
|
$dataArray['attachments'] = array($attachment);
|
||||||
} else {
|
} else {
|
||||||
$dataArray['text'] = $message;
|
$dataArray['text'] = $message;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user