mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Update paths
GitOrigin-RevId: 5bc9bccf2cd10631cb88412f426a8e3c73c9f689
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user