Skip to content

Commit

Permalink
feat: SJIP-964 bump some dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed Nov 12, 2024
1 parent 4de055d commit e7b1179
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 54 deletions.
161 changes: 117 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@
"@aws-sdk/s3-request-presigner": "^3.689.0",
"@elastic/elasticsearch": "^7.11.0",
"ajv": "^8.17.1",
"cors": "2.8.5",
"dotenv": "^10.0.0",
"express": "^4.19.2",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"filesize": "^3.6.1",
"graphql-parse-resolve-info": "^4.13.0",
"http-status-codes": "^2.3.0",
"keycloak-connect": "^25.0.4",
"keycloak-connect": "^26.0.5",
"lodash": "^4.17.21",
"node-cache": "^5.1.2",
"node-fetch": "^2.6.5",
"regenerator-runtime": "^0.14.0"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-serve-static-core": "^4.17.24",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.1",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.171",
"@types/node": "^16.3.2",
Expand Down
4 changes: 3 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ export default (keycloak: Keycloak, getProject: (projectId: string) => ArrangerP
}
});

app.post('/authorized-studies', keycloak.protect(), computeAuthorizedStudiesForAllFences);
app.post('/authorized-studies', keycloak.protect(), async (req, res, next) => {
computeAuthorizedStudiesForAllFences(req, res, next);
});

app.use(globalErrorLogger, globalErrorHandler);

Expand Down
3 changes: 1 addition & 2 deletions src/endpoints/authorizedStudies/computeAuthorizedStudies.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Client } from '@elastic/elasticsearch';
import { Request, Response } from 'express';
import { NextFunction } from 'express-serve-static-core';
import { NextFunction, Request, Response } from 'express';
import { StatusCodes } from 'http-status-codes';

import EsInstance from '../../ElasticSearchClientInstance';
Expand Down

0 comments on commit e7b1179

Please sign in to comment.