Skip to content

Commit

Permalink
POC-737: Removed moh -registeres on Services section
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred-Mutai committed Oct 25, 2024
1 parent 6950434 commit 5d3ff3f
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions etl-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6361,31 +6361,6 @@ module.exports = (function () {
notes: 'Api endpoint that returns AMRS ID in string format',
tags: ['api']
}
},
{
method: 'GET',
path: '/etl/registers/defaulter-tracing',
config: {
auth: 'simple',
plugins: {},
handler: function (request, reply) {
if (request.query.locationUuid) {
const locationUuids = request.query.locationUuid;
getDefaulterTracingData(locationUuids)
.then((results) => {
reply(results);
})
.catch((error) => {
reply(Boom.internal('An error occured', error));
});
} else {
reply(Boom.internal('Request misssing location uuid'));
}
},
description: 'Get defaulter tracing data',
notes: 'Returns the defaulter tracing data',
tags: ['api']
}
}
];

Expand Down

0 comments on commit 5d3ff3f

Please sign in to comment.