Skip to content

Commit

Permalink
Remove "bucket-owner-read"
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Aug 13, 2024
1 parent 68aeba6 commit f0fd564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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.40",
"version": "1.0.41",
"description": "Validation schemes for the ScreenshotOne API requests.",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,7 @@ const commonOptionsScheme = Joi.object({
storage_endpoint: Joi.string().uri().optional(),
storage_access_key_id: Joi.string().optional(),
storage_secret_access_key: Joi.string().optional(),
// "bucket-owner-read" is for AWS S3 only
storage_acl: Joi.string().valid("public-read", "", "bucket-owner-read").default(""),
storage_acl: Joi.string().valid("public-read", "").default(""),
storage_class: Joi.string()
.valid(
"standard",
Expand Down

0 comments on commit f0fd564

Please sign in to comment.