Update paths

GitOrigin-RevId: 5bc9bccf2cd10631cb88412f426a8e3c73c9f689
This commit is contained in:
Andrew Rumble
2025-10-31 11:15:41 +00:00
committed by Copybot
parent 5914c9ff09
commit f5eb8e9ba4
4 changed files with 4 additions and 4 deletions

View File

@@ -394,7 +394,7 @@ const AuthenticationController = {
const middleware = async (req, res, next) => {
const Oauth2Server = (
await import(
'../../../../modules/oauth2-server/app/src/Oauth2Server.js'
'../../../../modules/oauth2-server/app/src/Oauth2Server.mjs'
)
).default

View File

@@ -2,7 +2,7 @@ import {
db,
READ_PREFERENCE_SECONDARY,
} from '../../app/src/infrastructure/mongodb.js'
import { hashSecret } from '../../modules/oauth2-server/app/src/SecretsHelper.js'
import { hashSecret } from '../../modules/oauth2-server/app/src/SecretsHelper.mjs'
import { scriptRunner } from '../lib/ScriptRunner.mjs'
async function main() {

View File

@@ -1,6 +1,6 @@
import minimist from 'minimist'
import { db } from '../../app/src/infrastructure/mongodb.js'
import { hashSecret } from '../../modules/oauth2-server/app/src/SecretsHelper.js'
import { hashSecret } from '../../modules/oauth2-server/app/src/SecretsHelper.mjs'
import { scriptRunner } from '../lib/ScriptRunner.mjs'
async function main() {

View File

@@ -1,7 +1,7 @@
import minimist from 'minimist'
import mongodb from 'mongodb-legacy'
import { db } from '../../app/src/infrastructure/mongodb.js'
import { hashSecret } from '../../modules/oauth2-server/app/src/SecretsHelper.js'
import { hashSecret } from '../../modules/oauth2-server/app/src/SecretsHelper.mjs'
import { scriptRunner } from '../lib/ScriptRunner.mjs'
const { ObjectId } = mongodb