update access control
This commit is contained in:
parent
40127b0710
commit
f2853ba87c
|
@ -41,7 +41,7 @@ final class SessionManager {
|
||||||
updateHeader(with: authToken)
|
updateHeader(with: authToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateHeader(with authToken: String?) {
|
fileprivate func updateHeader(with authToken: String?) {
|
||||||
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
|
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
|
||||||
var deviceName = UIDevice.current.name
|
var deviceName = UIDevice.current.name
|
||||||
deviceName = deviceName.folding(options: .diacriticInsensitive, locale: .current)
|
deviceName = deviceName.folding(options: .diacriticInsensitive, locale: .current)
|
||||||
|
|
Loading…
Reference in New Issue