Skip to content

Commit

Permalink
Fix email deliverable field (#3888)
Browse files Browse the repository at this point in the history
  • Loading branch information
piazzatron committed Sep 19, 2022
1 parent 95cc726 commit 64fb281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion identity-service/src/routes/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function (app) {
const checkEmailResponse = await axios.get(checkValidEmailUrl, {
headers: { 'X-API-KEY': config.get('seonApiKey') }
})
isEmailDeliverable = checkEmailResponse.data.deliverable
isEmailDeliverable = checkEmailResponse.data.data.deliverable
} catch (err) {
req.logger.error(`Unable to fetch validate email from seon for ${email}`, err)
}
Expand Down

0 comments on commit 64fb281

Please sign in to comment.