Skip to content

Commit

Permalink
Merge branch 'main' into MAP-1937-UoF-fix-data-extractor-cron-job-fails
Browse files Browse the repository at this point in the history
  • Loading branch information
GurnankCheema authored Dec 5, 2024
2 parents 08d025f + 9979129 commit 54a9261
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration-tests/mockApis/nomisMappingApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
return stubFor({
request: {
method: 'GET',
urlPattern: `/nomis-mapping/mapping/locations/nomis/${nomisLocationId}`,
urlPattern: `/nomis-mapping/api/locations/nomis/${nomisLocationId}`,
},
response: {
status: 200,
Expand Down
2 changes: 1 addition & 1 deletion server/data/nomisMappingClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export default class NomisMappingClient {

async getDpsLocationMappingUsingNomisLocationId(nomisLocationId: number): Promise<LocationMapping> {
logger.info(`Nomis mapping api client getting DPS location details using this nomisLocationId: ${nomisLocationId}`)
return this.restClient.get({ path: `/mapping/locations/nomis/${nomisLocationId}` })
return this.restClient.get({ path: `/api/locations/nomis/${nomisLocationId}` })
}
}
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"moduleResolution": "node",
"outDir": "./dist",
"sourceMap": true,
"suppressImplicitAnyIndexErrors": true,
"skipLibCheck": true,
"noEmit": false,
"allowJs": true,
Expand Down

0 comments on commit 54a9261

Please sign in to comment.