I forgot what i changed

This commit is contained in:
Aiden Vigue 2021-05-22 18:58:22 -04:00
parent 961e5ff392
commit 9e3efbbd1a
1 changed files with 0 additions and 2 deletions

View File

@ -252,8 +252,6 @@ struct ContentView: View {
_globalData.wrappedValue.user = savedUser
}
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String;
globalData.authHeader = "MediaBrowser Client=\"SwiftFin\", Device=\"\(UIDevice.current.name)\", DeviceId=\"\(globalData.user?.device_uuid ?? "")\", Version=\"\(appVersion ?? "0.0.1")\", Token=\"\(globalData.authToken)\"";
let request = RestRequest(method: .get, url: (globalData.server?.baseURI ?? "") + "/Users/Me")
request.headerParameters["X-Emby-Authorization"] = globalData.authHeader
request.contentType = "application/json"