Skip to content

Commit

Permalink
Merge pull request #24 from Sov-trotter/api-update
Browse files Browse the repository at this point in the history
Update auth link
  • Loading branch information
Sov-trotter authored Nov 9, 2020
2 parents 1ab14cc + 5c930e2 commit c2a6e12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ function authenticate(token::String = "") # todo : save the token
pipeline_limit = 4,
retry = false,
redirect = false)

url = "https://api.quantum-computing.ibm.com/api/users/loginWithToken"
url = "https://auth.quantum-computing.ibm.com/api/users/loginWithToken"
req = Dict("apiToken" => token)
print("Logging You in...")
response = HTTP.post(url, headers, JSON.json(req); conf...)
Expand Down

0 comments on commit c2a6e12

Please sign in to comment.