Skip to content

Commit 1793432

Browse files
author
Elvirion Antersijn
committed
Made acronym in public API uppercased
1 parent 8abff8b commit 1793432

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/TUSKit/TUSClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public final class TUSClient {
280280

281281
/// Return the id's all failed uploads. Good to check after launch or after background processing for example, to handle them at a later stage.
282282
/// - Returns: An id's array of erronous uploads.
283-
public func failedUploadIds() throws -> [UUID] {
283+
public func failedUploadIDs() throws -> [UUID] {
284284
try files.loadAllMetadata().compactMap { metaData in
285285
if metaData.errorCount > retryCount {
286286
return metaData.id

TUSKitExample/TUSKitExample/SceneDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
3434

3535
// When starting, you can retrieve the locally stored uploads that are marked as failure, and handle those.
3636
// E.g. Maybe some uploads failed from a last session, or failed from a background upload.
37-
let ids = try tusClient.failedUploadIds()
37+
let ids = try tusClient.failedUploadIDs()
3838
for id in ids {
3939
// You can either retry a failed upload...
4040
try tusClient.retry(id: id)

0 commit comments

Comments
 (0)