diff --git a/src/server/schemas/sharedApiSchemas.ts b/src/server/schemas/sharedApiSchemas.ts index f0458f0a4..cf77a90fb 100644 --- a/src/server/schemas/sharedApiSchemas.ts +++ b/src/server/schemas/sharedApiSchemas.ts @@ -57,7 +57,7 @@ export const publishedDeployParamSchema = Type.Object({ */ const replyBodySchema = Type.Object({ result: Type.Optional( - Type.Union([Type.String(), Type.Object({}), Type.Array(Type.Any())]), + Type.Union([Type.Number(), Type.String(), Type.Object({}), Type.Array(Type.Any())]), ), });