1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

No need for extra json_encode

This commit is contained in:
Anton Nizhegorodov
2016-11-13 22:12:31 +02:00
committed by Haralan Dobrev
parent 7c2f58e7aa
commit 97eb782e8c

View File

@@ -179,7 +179,7 @@ class SlackRecord
}
}
$dataArray['attachments'] = json_encode(array($attachment));
$dataArray['attachments'] = array($attachment);
} else {
$dataArray['text'] = $message;
}