diff --git a/package.json b/package.json index 2cbad8e..c329659 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "screenshotone-validations", "homepage": "https://screenshotone.com", - "version": "1.0.39", + "version": "1.0.40", "description": "Validation schemes for the ScreenshotOne API requests.", "repository": { "type": "git", diff --git a/src/main.ts b/src/main.ts index d924d82..125c744 100644 --- a/src/main.ts +++ b/src/main.ts @@ -387,7 +387,8 @@ const commonOptionsScheme = Joi.object({ storage_endpoint: Joi.string().uri().optional(), storage_access_key_id: Joi.string().optional(), storage_secret_access_key: Joi.string().optional(), - storage_acl: Joi.string().valid("public-read", "").default(""), + // "bucket-owner-read" is for AWS S3 only + storage_acl: Joi.string().valid("public-read", "", "bucket-owner-read").default(""), storage_class: Joi.string() .valid( "standard",