Extracted template to be a separate variable
refs https://github.com/TryGhost/Toolbox/issues/292 - Nice to track the change history
This commit is contained in:
parent
6aeb27ce62
commit
1a0a4272f3
@ -31,8 +31,9 @@ class APIVersionCompatibilityService {
|
||||
const emails = await this.fetchEmailsToNotify();
|
||||
|
||||
for (const email of emails) {
|
||||
const template = 'generic-mismatch';
|
||||
const {html, text} = await this.emailContentGenerator.getContent({
|
||||
template: 'generic-mismatch',
|
||||
template,
|
||||
data: {
|
||||
acceptVersion,
|
||||
contentVersion,
|
||||
|
Loading…
Reference in New Issue
Block a user