Save new templates image data to the new columns
[MAILPOET-2686]
This commit is contained in:
committed by
Veljko V
parent
f5e4bab40b
commit
b51f7b2d0e
@@ -52,6 +52,10 @@ class NewsletterTemplatesRepository extends Repository {
|
||||
$template->setThumbnail($data['thumbnail']);
|
||||
}
|
||||
|
||||
if (isset($data['thumbnail_data'])) {
|
||||
$template->setThumbnailData($data['thumbnail_data']);
|
||||
}
|
||||
|
||||
if (isset($data['body'])) {
|
||||
$template->setBody(json_decode($data['body'], true));
|
||||
}
|
||||
|
Reference in New Issue
Block a user