From 87af0d8584007564c7071692070cf063a824fe6a Mon Sep 17 00:00:00 2001 From: Wil Clouser Date: Thu, 20 Apr 2023 15:00:51 -0700 Subject: [PATCH] fix(build): some containers are crashing Because: - These didn't get changed with the esbuild upgrade This commit: - Updates these require statements Closes # FXA-7309 --- packages/fxa-auth-server/bin/email_notifications.js | 2 +- packages/fxa-auth-server/bin/profile_server_messaging.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fxa-auth-server/bin/email_notifications.js b/packages/fxa-auth-server/bin/email_notifications.js index 24bc48b3ad..161b5fc89b 100644 --- a/packages/fxa-auth-server/bin/email_notifications.js +++ b/packages/fxa-auth-server/bin/email_notifications.js @@ -4,7 +4,7 @@ 'use strict'; -const config = require('../config').getProperties(); +const config = require('../config').default.getProperties(); const StatsD = require('hot-shots'); const { CurrencyHelper } = require('../lib/payments/currencies'); diff --git a/packages/fxa-auth-server/bin/profile_server_messaging.js b/packages/fxa-auth-server/bin/profile_server_messaging.js index 0c1656e3be..ed417298d9 100644 --- a/packages/fxa-auth-server/bin/profile_server_messaging.js +++ b/packages/fxa-auth-server/bin/profile_server_messaging.js @@ -4,7 +4,7 @@ 'use strict'; -const config = require('../config').getProperties(); +const config = require('../config').default.getProperties(); const StatsD = require('hot-shots'); const statsd = new StatsD(config.statsd); const log = require('../lib/log')(