Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Aug 1, 2024
1 parent 6726811 commit a8e1b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "screenshotone-validations",
"homepage": "https://screenshotone.com",
"version": "1.0.36",
"version": "1.0.37",
"description": "Validation schemes for the ScreenshotOne API requests.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const screenshotScheme = {
clip_height: Joi.number().integer().optional(),

vision_prompt: Joi.string().optional(),
vision_max_tokens: Joi.string().optional(),
vision_max_tokens: Joi.number().integer().optional(),
openai_api_key: Joi.string().optional(),

pdf_print_background: Joi.boolean().optional(),
Expand Down

0 comments on commit a8e1b7c

Please sign in to comment.