File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import 'dotenv/config';
2
2
3
3
import { AppConfig } from '@overture-stack/lyric' ;
4
4
5
- import { myAuthMiddleware } from '../middleware/auth.js' ;
5
+ import { authMiddleware } from '../middleware/auth.js' ;
6
6
7
7
export const getServerConfig = ( ) => {
8
8
return {
@@ -60,5 +60,5 @@ export const appConfig: AppConfig = {
60
60
logger : {
61
61
level : process . env . LOG_LEVEL || 'info' ,
62
62
} ,
63
- authMiddleware : myAuthMiddleware ,
63
+ authMiddleware : authMiddleware ,
64
64
} ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ declare module 'express-serve-static-core' {
9
9
}
10
10
}
11
11
12
- export const myAuthMiddleware = ( req : Request , res : Response , next : NextFunction ) => {
12
+ export const authMiddleware = ( req : Request , res : Response , next : NextFunction ) => {
13
13
// Middleware for implementing authentication logic.
14
14
15
15
req . user = {
You can’t perform that action at this time.
0 commit comments