Skip to content

Commit

Permalink
Readd session and storageDirectory arguments to TUSClient initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
elvirion committed Apr 3, 2022
1 parent fb8b329 commit b0c8354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TransloaditKit/Transloadit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public final class Transloadit {
}

lazy var tusClient: TUSClient = {
let tusClient = try! TUSClient(server: URL(string:"https://www.transloadit.com")!, sessionIdentifier: "TransloadIt")
let tusClient = try! TUSClient(server: URL(string:"https://www.transloadit.com")!, sessionIdentifier: "TransloadIt", storageDirectory: storageDir, session: session)
tusClient.delegate = self
return tusClient
}()
Expand Down

0 comments on commit b0c8354

Please sign in to comment.