Skip to content
Merged
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 waosSwift/lib/helpers/CookiePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/

import Moya
import Result

/**
* structs
Expand Down Expand Up @@ -43,7 +44,6 @@ struct CookieStorager {
guard let cookie = httpReq.allHeaderFields["Set-Cookie"] else {
return false
}
print("CookiePlugin save \(cookie)")
UserDefaults.standard.set(cookie, forKey: "Cookie")
UserDefaults.standard.synchronize()
return true
Expand Down