Skip to content

Commit 9a648f1

Browse files
committed
fix(email-renderer): Remove default acceptLanguage from email-renderer
Because: - Using the wrong default causes the snapshots to not find l10n ftls This Commit: - Reverts the default value to use proper, internal default
1 parent 95b45d6 commit 9a648f1

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

libs/accounts/email-renderer/src/renderer/email-renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class EmailRenderer extends Localizer {
8484
includes,
8585
} = templateContext;
8686
const { l10n, selectedLocale } = await super.setupDomLocalizer(
87-
acceptLanguage || 'en-US'
87+
acceptLanguage || ''
8888
);
8989

9090
const context = {

libs/accounts/email-renderer/src/templates/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export * as fraudulentAccountDeletion from './fraudulentAccountDeletion';
4848
export * as inactiveAccountFirstWarning from './inactiveAccountFirstWarning';
4949
export * as inactiveAccountSecondWarning from './inactiveAccountSecondWarning';
5050
export * as inactiveAccountFinalWarning from './inactiveAccountFinalWarning';
51-
export * as subscriptionAccountFinishSetup from './subscriptionAccountFinishSetup';
5251
export * as subscriptionAccountReminderFirst from './subscriptionAccountReminderFirst';
5352
export * as subscriptionAccountReminderSecond from './subscriptionAccountReminderSecond';
5453
export * as subscriptionReactivation from './subscriptionReactivation';

packages/fxa-auth-server/scripts/install-ejs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
# the package used by the browser.
77

88
# Get current version
9-
ejs_version=$(npm info ejs version)
9+
# ejs_version=$(npm info ejs version)
10+
# Temoporary fix for now... Latest version doesn't have minified file
11+
ejs_version=3.1.10
1012

1113
# Ensure vendor dir
1214
[ ! -d "./vendor" ] && mkdir vendor

0 commit comments

Comments
 (0)