mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
🐛 Fixed email header image width not set (#16210)
refs https://ghost.slack.com/archives/CTH5NDJMS/p1675182725388589?thread_ts=1675181248.903819&cid=CTH5NDJMS Missing dependency was causing image widths not set
This commit is contained in:
parent
444ca6f5e5
commit
4f889586ad
@ -36,6 +36,7 @@ class EmailServiceWrapper {
|
||||
const audienceFeedback = require('../audience-feedback');
|
||||
const storageUtils = require('../../adapters/storage/utils');
|
||||
const emailAnalyticsJobs = require('../email-analytics/jobs');
|
||||
const {imageSize} = require('../../lib/image');
|
||||
|
||||
// capture errors from mailgun client and log them in sentry
|
||||
const errorHandler = (error) => {
|
||||
@ -60,7 +61,7 @@ class EmailServiceWrapper {
|
||||
mobiledoc: mobiledocLib.mobiledocHtmlRenderer,
|
||||
lexical: lexicalLib.lexicalHtmlRenderer
|
||||
},
|
||||
imageSize: null,
|
||||
imageSize,
|
||||
urlUtils,
|
||||
storageUtils,
|
||||
getPostUrl: this.getPostUrl,
|
||||
|
Loading…
Reference in New Issue
Block a user