Skip to content

Commit

Permalink
Silence Swift 5 compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 committed Dec 10, 2018
1 parent 7255182 commit 101b7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KituraNet/ClientRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public class ClientRequest {
guard let data = authHeader.data(using: String.Encoding.utf8) else {
return nil
}
return "Basic \(data.base64EncodedString)"
return "Basic \(data.base64EncodedString())"
}
}

Expand Down

0 comments on commit 101b7d4

Please sign in to comment.