Pārlūkot izejas kodu

cambio el metodo por prop.

Luciano Andrade 7 gadi atpakaļ
vecāks
revīzija
a3315d10fa
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Services/TaskLoggerService.php

+ 1 - 1
Services/TaskLoggerService.php

@@ -38,7 +38,7 @@ class TaskLoggerService implements ConsumerInterface
      */
     public function execute(AMQPMessage $msg)
     {
-        $msgBody = unserialize($msg->getBody());
+        $msgBody = unserialize($msg->body);
         if (isset($msgBody['id']) && isset($msgBody['content'])) {
             $taskloggerId = $msgBody['id'];
             $content = $msgBody['content'];