mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 13:06:18 +02:00
Fixed request endpoint uri
This commit is contained in:
parent
8ed18ab76e
commit
d04622c49f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module Eeid
|
|||
end
|
||||
|
||||
def build_request(endpoint, method, body)
|
||||
uri = URI.parse("#{BASE_URL}/#{endpoint}")
|
||||
uri = URI.parse("#{BASE_URL}#{endpoint}")
|
||||
request = create_request(uri, method)
|
||||
request['Authorization'] = "Bearer #{@token}"
|
||||
request.body = body.to_json if body
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue