Skip to content

Commit

Permalink
fix: update to v2 fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed May 16, 2024
1 parent ab3ca2f commit 2292dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/experiment/remote/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def initialize(api_key, config = nil)
else
Logger::INFO
end
endpoint = "#{@config.server_url}/sdk/vardata"
endpoint = "#{@config.server_url}/sdk/v2/vardata?v=0"
@uri = URI(endpoint)
raise ArgumentError, 'Experiment API key is empty' if @api_key.nil? || @api_key.empty?
end
Expand Down

0 comments on commit 2292dd5

Please sign in to comment.