Skip to content

Commit

Permalink
fix another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
budipang committed Aug 2, 2018
1 parent 5d4bef7 commit f440c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/toggleable/feature_toggler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def toggle_key(key, value, actor: nil)
response = ''
attempt = 1
url = "#{Toggleable.configuration.palanca_host}/_internal/toggle-features"
payload = { key: key, status: value, user_id: actor }.to_json
payload = { feature: key, status: value, user_id: actor }.to_json
resource = RestClient::Resource.new(url, Toggleable.configuration.palanca_user, Toggleable.configuration.palanca_password)

while response.empty?
Expand Down

0 comments on commit f440c4a

Please sign in to comment.