Skip to content

Commit

Permalink
npm audit fix for 2024.3 (#1336)
Browse files Browse the repository at this point in the history
* npm audit fix for 2024.3

* Remove extra brackets from the OData URL expression
  • Loading branch information
sadiqkhoja authored Dec 9, 2024
1 parent 4f35894 commit f931a4e
Show file tree
Hide file tree
Showing 2 changed files with 202 additions and 135 deletions.
4 changes: 2 additions & 2 deletions lib/resources/odata.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ module.exports = (service, endpoint) => {
});

// TODO: because of the way express compiles the *, we have to register this twice.
service.get(`${base}/Submissions\\((:uuid)\\)`, singleRecord);
service.get(`${base}/Submissions\\((:uuid)\\)/*`, singleRecord);
service.get(`${base}/Submissions\\(:uuid\\)`, singleRecord);
service.get(`${base}/Submissions\\(:uuid\\)/*`, singleRecord);

// serves table data.
service.get(`${base}/:table`, endpoint.odata.json(({ Forms, Submissions, env }, { auth, params, originalUrl, query }) =>
Expand Down
Loading

0 comments on commit f931a4e

Please sign in to comment.