chore(deps): update fastify (#58924)

This commit is contained in:
Oliver Eyton-Williams
2025-02-24 18:13:09 +01:00
committed by GitHub
parent 7e72dd8d11
commit c2df388d93
3 changed files with 94 additions and 83 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
"date-fns": "2.30.0",
"dotenv": "16.4.5",
"fast-uri": "2.3.0",
"fastify": "4.26.1",
"fastify": "4.29.0",
"fastify-plugin": "4.5.1",
"joi": "17.12.2",
"jsonwebtoken": "9.0.2",
+8 -9
View File
@@ -14,15 +14,14 @@ export const saveChallenge = {
200: Type.Object({
savedChallenges: Type.Array(savedChallenge)
}),
400: Type.Object({
message: Type.Literal(
'That does not appear to be a valid challenge submission.'
),
type: Type.Literal('error')
}),
403: Type.Union([
Type.Literal('That challenge type is not saveable.'),
genericError
400: Type.Union([
Type.Object({
message: Type.Literal(
'That does not appear to be a valid challenge submission.'
),
type: Type.Literal('error')
}),
Type.Literal('That challenge type is not saveable.')
]),
default: genericError
}