commit
4dd5f7bc75
|
@ -29,7 +29,7 @@ class PhpSerializer implements SerializerInterface
|
|||
throw new MessageDecodingFailedException('Encoded envelope should have at least a "body".');
|
||||
}
|
||||
|
||||
if (str_ends_with($encodedEnvelope['body'], '}')) {
|
||||
if (!str_ends_with($encodedEnvelope['body'], '}')) {
|
||||
$encodedEnvelope['body'] = base64_decode($encodedEnvelope['body']);
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue