Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let task = URLSession(configuration: .ephemeral).dataTask(with: req) { (data, re
print(error)
}
else if let data = data {
print(String(data: data, encoding: .utf8) ?? "Does not look like an utf8 response :(")
print(String(data: data, encoding: .utf8) ?? "Does not look like a utf8 response :(")
}
}
task.resume()
Expand Down
3 changes: 3 additions & 0 deletions Sources/OhhAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
/// - Copyright: 2017

import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

open class OhhAuth
{
Expand Down