Skip to content

Commit

Permalink
Alter person-basic 404 response to be in-line with MyInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Jan 11, 2019
1 parent 6e03781 commit 8887934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function config (app, { showLoginPage, serviceProvider, idpConfig }) {
.send(
persona
? pick(persona, attributes)
: { code: 404, message: 'Not Found', fields: req.params.uinfin }
: { code: 404, message: 'UIN/FIN does not exist in MyInfo.', fields: '' }
)
}
}
Expand Down

0 comments on commit 8887934

Please sign in to comment.