We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c678b30 commit 567ac65Copy full SHA for 567ac65
1 file changed
src/Messaging/Serializer/TemplateImageNormalizer.php
@@ -45,7 +45,7 @@ public function normalize($object, string $format = null, array $context = []):
45
'template_id' => $object->getTemplate()?->getId(),
46
'mimetype' => $object->getMimeType(),
47
'filename' => $object->getFilename(),
48
- 'data' => base64_encode($object->getData() ?? ''),
+ 'data' => $object->getData() ?? '',
49
'width' => $object->getWidth(),
50
'height' => $object->getHeight(),
51
];
0 commit comments