fix(deps): update dependency fastify to v4.17.0 (#50230)

* fix(deps): update dependency fastify to v4.17.0

* add missing code in error object

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
This commit is contained in:
renovate[bot]
2023-05-15 11:17:09 +03:00
committed by GitHub
parent e2716c35ea
commit decb2e87b6
3 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
"@immobiliarelabs/fastify-sentry": "^5.0.2",
"@prisma/client": "4.14.0",
"connect-mongo": "4.6.0",
"fastify": "4.15.0",
"fastify": "4.17.0",
"fastify-auth0-verify": "^1.0.0",
"fastify-plugin": "^4.3.0",
"nodemon": "2.0.22"
+1
View File
@@ -103,6 +103,7 @@ describe('settingRoutes', () => {
expect(response?.statusCode).toEqual(400);
expect(response?.body).toEqual({
code: 'FST_ERR_VALIDATION',
error: 'Bad Request',
message: `body/profileUI must have required property 'showAbout'`,
statusCode: 400