We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52bd795 commit 5f494b4Copy full SHA for 5f494b4
test/authserver.jl
@@ -1,5 +1,5 @@
1
using HTTP, Random, JSON
2
-import TOML
+import Pkg: TOML
3
4
const EXPIRY = 30
5
const CHALLENGE_EXPIRY = 10
@@ -154,7 +154,7 @@ function auth_device_code(req)
154
end
155
156
function auth_device(req)
157
- params = HTTP.queryparams(req)
+ params = HTTP.queryparams(HTTP.URIs.URI(req.target).query)
158
user_code = get(params, "user_code", "")
159
device_code = get(user_code_device_code_map, user_code, nothing)
160
if device_code === nothing
0 commit comments