Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Just.get params always return string Optional #109

Closed
irfanpule opened this issue Sep 21, 2018 · 1 comment
Closed

Just.get params always return string Optional #109

irfanpule opened this issue Sep 21, 2018 · 1 comment

Comments

@irfanpule
Copy link

I update xcode 10 and recompile carthage packages use Swift 4.2. After recompile any problem in Just.get when I use args params:

Ex:

let params: [String: String] = [
    'session_key': Session.key!
]

Just.get(url, params: params) { response in

request always invalid session_key to server. Then I look access.log, I found query string use Optional
ex: ?session_key=Optional%28%2276jqfaeq94ar02boscaie91idbq6e0hz%22%29

@dduan
Copy link
Owner

dduan commented Sep 22, 2018

fixed in 0.7.0. Thanks for reporting!

@dduan dduan closed this as completed Sep 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants