Skip to content

Commit

Permalink
Remove redundent parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bradley-hmcts committed Sep 2, 2020
1 parent 6b0f7d9 commit 46171f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/registerIncomingService.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ router.get('/service-endpoint', (req, res) => {
.fetch('http://localhost:4000/health', {}, fetchRes => fetchRes.json())
.then(async json => {
if ((json['pcq-backend'] && json['pcq-backend'].status === 'UP') || config.services.pcqBackend.enabled === 'false') {
registerIncomingService(req, res);
registerIncomingService(req);
await setJourney(req, res);

res.redirect('/start-page');
Expand Down

0 comments on commit 46171f5

Please sign in to comment.