Skip to content

Commit d79c189

Browse files
committed
Allow uploadables to be added regardless of state.
1 parent d86a55e commit d79c189

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/FilestackSDK/Internal/Uploaders/MultipartUpload.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ class MultipartUpload: Uploader, DeferredAdd {
9494
}
9595

9696
@discardableResult func add(uploadables: [Uploadable]) -> Bool {
97-
guard state == .notStarted else { return false }
98-
9997
uploadQueue.sync {
10098
if self.uploadables != nil {
10199
self.uploadables?.append(contentsOf: uploadables)

0 commit comments

Comments
 (0)