From df3be1bd5e12034338b8037f05c7f94c515dc77e Mon Sep 17 00:00:00 2001 From: Andrew Rumble Date: Wed, 30 Oct 2024 14:23:34 +0000 Subject: [PATCH] Merge pull request #21288 from overleaf/ar-convert-modules-saas-authentication-to-es-modules [web] Convert modules/saas-authentication to ES modules GitOrigin-RevId: 5589bb2a7ad86da689994b6336cdac228de66c17 --- services/web/scripts/backfill_users_sso_attribute.mjs | 2 +- services/web/scripts/check_saml_emails.mjs | 2 +- services/web/scripts/sso_id_migration_check.mjs | 2 +- services/web/scripts/sso_id_remove_not_migrated.mjs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/scripts/backfill_users_sso_attribute.mjs b/services/web/scripts/backfill_users_sso_attribute.mjs index 3ebb164d69..d166e06758 100644 --- a/services/web/scripts/backfill_users_sso_attribute.mjs +++ b/services/web/scripts/backfill_users_sso_attribute.mjs @@ -1,4 +1,4 @@ -import SAMLUserIdAttributeBatchHandler from '../modules/saas-authentication/app/src/SAML/SAMLUserIdAttributeBatchHandler.js' +import SAMLUserIdAttributeBatchHandler from '../modules/saas-authentication/app/src/SAML/SAMLUserIdAttributeBatchHandler.mjs' const startInstitutionId = parseInt(process.argv[2]) const endInstitutionId = parseInt(process.argv[3]) diff --git a/services/web/scripts/check_saml_emails.mjs b/services/web/scripts/check_saml_emails.mjs index 09dad33397..03625b4f51 100644 --- a/services/web/scripts/check_saml_emails.mjs +++ b/services/web/scripts/check_saml_emails.mjs @@ -1,4 +1,4 @@ -import SAMLEmailBatchCheck from '../modules/saas-authentication/app/src/SAML/SAMLEmailBatchCheck.js' +import SAMLEmailBatchCheck from '../modules/saas-authentication/app/src/SAML/SAMLEmailBatchCheck.mjs' import { ensureRunningOnMongoSecondaryWithTimeout } from './helpers/env_variable_helper.mjs' ensureRunningOnMongoSecondaryWithTimeout(300000) diff --git a/services/web/scripts/sso_id_migration_check.mjs b/services/web/scripts/sso_id_migration_check.mjs index 63e99e7609..5e18611298 100644 --- a/services/web/scripts/sso_id_migration_check.mjs +++ b/services/web/scripts/sso_id_migration_check.mjs @@ -1,5 +1,5 @@ import { waitForDb } from '../app/src/infrastructure/mongodb.js' -import SAMLUserIdMigrationHandler from '../modules/saas-authentication/app/src/SAML/SAMLUserIdMigrationHandler.js' +import SAMLUserIdMigrationHandler from '../modules/saas-authentication/app/src/SAML/SAMLUserIdMigrationHandler.mjs' import { ensureRunningOnMongoSecondaryWithTimeout } from './helpers/env_variable_helper.mjs' ensureRunningOnMongoSecondaryWithTimeout(300000) diff --git a/services/web/scripts/sso_id_remove_not_migrated.mjs b/services/web/scripts/sso_id_remove_not_migrated.mjs index 0bfe2432b1..3a4e6df209 100644 --- a/services/web/scripts/sso_id_remove_not_migrated.mjs +++ b/services/web/scripts/sso_id_remove_not_migrated.mjs @@ -1,5 +1,5 @@ import { waitForDb } from '../app/src/infrastructure/mongodb.js' -import SAMLUserIdMigrationHandler from '../modules/saas-authentication/app/src/SAML/SAMLUserIdMigrationHandler.js' +import SAMLUserIdMigrationHandler from '../modules/saas-authentication/app/src/SAML/SAMLUserIdMigrationHandler.mjs' import { ensureMongoTimeout } from './helpers/env_variable_helper.mjs' ensureMongoTimeout(300000)