This commit is contained in:
yystopf 2022-04-11 15:48:47 +08:00
parent 0076468a15
commit 720c073f32
1 changed files with 1 additions and 4 deletions

View File

@ -70,11 +70,8 @@ class Trace::ClientService < ApplicationService
conn.put(full_url(url), params[:data]) conn.put(full_url(url), params[:data])
end end
private
def conn def conn
@client ||= Faraday.new(url: domain) Faraday.new(url: domain)
@client
end end
def base_url def base_url