Skip to content

Commit

Permalink
Bump resolve-email from 1.0.0 to 2.0.0
Browse files Browse the repository at this point in the history
Bumps [resolve-email](https://github.com/bcomnes/resolve-email) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/bcomnes/resolve-email/releases)
- [Changelog](https://github.com/bcomnes/resolve-email/blob/master/CHANGELOG.md)
- [Commits](bcomnes/resolve-email@v1.0.0...v2.0.0)

---
updated-dependencies:
- dependency-name: resolve-email
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Update resolve-email to 2.0.0
  • Loading branch information
dependabot[bot] authored and bcomnes committed Aug 7, 2023
1 parent 3f7e3dd commit 43ec679
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"pg": "^8.6.0",
"postgrator": "^7.0.0",
"postgrator-cli": "^7.0.0",
"resolve-email": "^1.0.0",
"resolve-email": "^2.0.0",
"sodium-native": "^4.0.0",
"uland-isomorphic": "^2.0.0",
"undici": "^5.12.0",
Expand Down
2 changes: 1 addition & 1 deletion routes/api/register/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default async function registerRoutes (fastify, opts) {
})

if (!emailResolves) {
return reply.unprocessableEntity('Email address did not resolve.')
return reply.unprocessableEntity('There are problems with this email address, please try a different one.')
}

const query = SQL`
Expand Down
2 changes: 1 addition & 1 deletion routes/api/user/email/post-email.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function postEmail (fastify, opts) {
})

if (!emailResolves) {
return reply.unprocessableEntity('Email address did not resolve.')
return reply.unprocessableEntity('There are problems with this email address, please try a different one.')
}

const updates = [
Expand Down

0 comments on commit 43ec679

Please sign in to comment.