You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ export default async function ({
15
15
sruUrl, amqpUrl, mongoUri,
16
16
pollWaitTime, recordType,
17
17
requireAuthForRead, requireKVPForWrite,
18
-
fixTypes
18
+
fixTypes, allowedLibs
19
19
}){
20
20
constlogger=createLogger();
21
21
constserver=awaitinitExpress();
@@ -46,11 +46,11 @@ export default async function ({
46
46
}));
47
47
48
48
app.use(passport.initialize());
49
-
app.use('/bulk',passport.authenticate('melinda',{session: false}),awaitcreateBulkRouter({mongoUri, amqpUrl, recordType}));// Must be here to avoid bodyparser
49
+
app.use('/bulk',passport.authenticate('melinda',{session: false}),awaitcreateBulkRouter({mongoUri, amqpUrl, recordType, allowedLibs}));// Must be here to avoid bodyparser
0 commit comments