Skip to content

Commit 5f494b4

Browse files
committed
Fix for julia 1.3
1 parent 52bd795 commit 5f494b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/authserver.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using HTTP, Random, JSON
2-
import TOML
2+
import Pkg: TOML
33

44
const EXPIRY = 30
55
const CHALLENGE_EXPIRY = 10
@@ -154,7 +154,7 @@ function auth_device_code(req)
154154
end
155155

156156
function auth_device(req)
157-
params = HTTP.queryparams(req)
157+
params = HTTP.queryparams(HTTP.URIs.URI(req.target).query)
158158
user_code = get(params, "user_code", "")
159159
device_code = get(user_code_device_code_map, user_code, nothing)
160160
if device_code === nothing

0 commit comments

Comments
 (0)