Skip to content

Commit

Permalink
Merge pull request #25 from transloadit/swift-development
Browse files Browse the repository at this point in the history
fixes #24
  • Loading branch information
MMasterson authored Mar 23, 2021
2 parents 015497c + 30100d6 commit b4f35d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transloadit/Classes/Assembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Assembly: APIObject {


public func addFile(withPathURL: URL) {
tusUpload = TUSUpload(withId: withPathURL.lastPathComponent, andFilePathURL: withPathURL, andFileType: withPathURL.pathExtension)
tusUpload = TUSUpload(withId: withPathURL.deletingPathExtension().lastPathComponent, andFilePathURL: withPathURL, andFileType: withPathURL.pathExtension)
}


Expand Down

0 comments on commit b4f35d2

Please sign in to comment.