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

Commit

Permalink
Missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcook committed Jun 16, 2017
1 parent 83b32eb commit f45ae41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MixerAPI.podspec
@@ -1,14 +1,14 @@
Pod::Spec.new do |s|
s.name = "MixerAPI"
s.version = "1.6.3"
s.version = "1.6.4"
s.summary = "An interface to communicate with Mixer's backend."
s.homepage = "https://github.com/mixer/mixer-client-swift"
s.license = "MIT"
s.author = { "Jack Cook" => "jack@mixer.com" }

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

s.dependency "Starscream", "~> 2.0"
Expand Down
3 changes: 1 addition & 2 deletions Pod/Classes/Utilities/MixerRequest.swift
Expand Up @@ -119,8 +119,7 @@ public class MixerRequest {
request.addValue(val, forHTTPHeaderField: header)
}

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

for properties in storedCookies {
Expand Down

0 comments on commit f45ae41

Please sign in to comment.