Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit f45ae41

Browse files
committed
Missed a spot
1 parent 83b32eb commit f45ae41

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

MixerAPI.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = "MixerAPI"
3-
s.version = "1.6.3"
3+
s.version = "1.6.4"
44
s.summary = "An interface to communicate with Mixer's backend."
55
s.homepage = "https://github.com/mixer/mixer-client-swift"
66
s.license = "MIT"
77
s.author = { "Jack Cook" => "[email protected]" }
88

99
s.requires_arc = true
1010
s.ios.deployment_target = "8.2"
11-
s.source = { :git => "https://github.com/mixer/mixer-client-swift.git", :tag => "1.6.3" }
11+
s.source = { :git => "https://github.com/mixer/mixer-client-swift.git", :tag => "1.6.4" }
1212
s.source_files = "Pod/Classes/**/*"
1313

1414
s.dependency "Starscream", "~> 2.0"

Pod/Classes/Utilities/MixerRequest.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ public class MixerRequest {
119119
request.addValue(val, forHTTPHeaderField: header)
120120
}
121121

122-
if options.contains(.cookieAuth) {
123-
let storedCookies = MixerUserDefaults.standard.object(forKey: "Cookies") as! [[HTTPCookiePropertyKey: Any]]
122+
if options.contains(.cookieAuth), let storedCookies = MixerUserDefaults.standard.object(forKey: "Cookies") as? [[HTTPCookiePropertyKey: Any]] {
124123
var cookies = [HTTPCookie]()
125124

126125
for properties in storedCookies {

0 commit comments

Comments
 (0)