Skip to content

Commit

Permalink
Remove lowercasing for pdf_paper_format
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Sep 11, 2024
1 parent ac9aad8 commit 5ca2434
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.49",
"version": "1.0.50",
"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 @@ -157,7 +157,7 @@ const screenshotScheme = {
pdf_print_background: Joi.boolean().optional(),
pdf_fit_one_page: Joi.boolean().optional(),
pdf_landscape: Joi.boolean().optional(),
pdf_paper_format: Joi.string().lowercase().valid("a0", "a1", "a2", "a3", "a4", "a5", "a6", "legal", "letter", "tabloid").optional(),
pdf_paper_format: Joi.string().valid("a0", "a1", "a2", "a3", "a4", "a5", "a6", "legal", "letter", "tabloid").optional(),
};

const commonOptionsScheme = Joi.object({
Expand Down

0 comments on commit 5ca2434

Please sign in to comment.