Skip to content

Commit 81ebdaf

Browse files
FilestackMykytaShemechkoLuck9r
authored andcommitted
Clarify the use of 'access' storage option. (#26)
Co-authored-by: Mykyta Shemechko <[email protected]>
1 parent 199d70e commit 81ebdaf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ uploadOptions.storeOptions = StorageOptions(// Store location (e.g. S3, Dropbox,
212212
path: "/public/oncorhynchus.jpg",
213213
// Custom MIME type (useful when uploadable has no way of knowing its MIME type)
214214
mimeType: "image/jpg",
215-
// Access permissions (either public or private)
216-
access: .public,
215+
// Access permissions (either public or private, public only available for the custom s3 storage option)
216+
access: .private,
217217
// An array of workflow IDs to trigger for each upload
218218
workflows: ["WF-1", "WF-2"]
219219
)

Sources/FilestackSDK/Public/Models/StorageOptions.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class StorageOptions: NSObject {
3333
/// The file's MIME type.
3434
@objc public var mimeType: String?
3535

36-
/// An `StorageAccess` value. Valid options are `.public` or `.private`.
36+
/// An `StorageAccess` value. Valid options are `.public` or `.private`. Public only available for the custom s3 storage option.
3737
public var access: StorageAccess?
3838

3939
/// An array of workflow IDs to trigger for each upload.

0 commit comments

Comments
 (0)