Skip to content

Commit 3845b45

Browse files
committed
bump URI version & rm patch
1 parent 9ca6a36 commit 3845b45

File tree

4 files changed

+2
-45
lines changed

4 files changed

+2
-45
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Crayons = "4"
1818
HTTP = "0.9"
1919
JSON = "0.21"
2020
OpenQASM = "2"
21-
URIs = "1.0"
21+
URIs = "1.1"
2222
julia = "1"
2323

2424
[extras]

src/IBMQClient.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ using URIs
77
using REPL.TerminalMenus
88
using Crayons.Box
99

10-
include("patch.jl")
11-
12-
using .Patch: make_uri
13-
1410
include("rest.jl")
1511
include("ibmq.jl")
1612
include("account.jl")

src/patch.jl

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/rest.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ using HTTP
66
using JSON
77
using URIs
88
using Serialization
9-
using ..Patch: make_uri
109
abstract type AbstractAPI end
1110

1211
const mocking = Ref{Bool}(false)
@@ -68,7 +67,7 @@ function api_uri(api::AbstractAPI, path::String, query=nothing)
6867
return joinpath(api.endpoint, path)
6968
else
7069
isempty(uri.query) || error("non empty query in API endpoint is not supported")
71-
return make_uri(joinpath(api.endpoint, path); query=query)
70+
return URI(joinpath(api.endpoint, path); query=query)
7271
end
7372
end
7473

0 commit comments

Comments
 (0)