We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 232d30d commit 0bcb1d4Copy full SHA for 0bcb1d4
.github/workflows/main.yml
@@ -24,5 +24,5 @@ jobs:
24
- run: bundle install
25
- env:
26
CONVERT_API_SECRET: ${{ secrets.CONVERTAPI_SECRET }}
27
- # CONVERT_API_TOKEN: ${{ secrets.CONVERTAPI_TOKEN }}
+ CONVERT_API_TOKEN: ${{ secrets.CONVERTAPI_TOKEN }}
28
run: bundle exec rake spec
lib/convert_api/client.rb
@@ -124,8 +124,8 @@ def build_form_data(params)
124
end
125
126
def authentication
127
- return { Token: config.token } unless config.token.nil?
128
return { Secret: config.api_secret } unless config.api_secret.nil?
+ return { Token: config.token } unless config.token.nil?
129
130
nil
131
0 commit comments