mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(self-hosting): use instance contacts and live product name (#3333)
This commit is contained in:
1 parent
454fefdb92
commit
a5c1362f4a
308 files changed
+16533
-13512
No files matched your search
@@ -10,6 +10,7 @@ export interface IEmailI18nService {
|
||||
templateKey: T,
|
||||
locale: string | null,
|
||||
variables: EmailTemplateVariables[T],
|
||||
productName: string,
|
||||
): I18nResult<EmailTemplateKey, EmailTemplate>;
|
||||
}
|
||||
|
||||
@@ -18,7 +19,8 @@ export class EmailI18nService implements IEmailI18nService {
|
||||
templateKey: T,
|
||||
locale: string | null,
|
||||
variables: EmailTemplateVariables[T],
|
||||
productName: string,
|
||||
): I18nResult<EmailTemplateKey, EmailTemplate> {
|
||||
return getEmailTemplate(templateKey, locale, variables);
|
||||
return getEmailTemplate(templateKey, locale, variables, productName);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user