Skip to content

Commit

Permalink
1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
itTkm committed Mar 28, 2022
1 parent 14e33d4 commit d25cc58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class exchangeratesapi {
base = params.base;
}
let url = `${API_ENDPOINT}/${date}?access_key=${this.ACCESS_KEY}&base=${base}`;
if (!symbols)
if (symbols)
url += `&symbols=${symbols}`;
const response = await this.request(url);
if (params.base && base !== params.base) {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ittkm/exchangeratesapi",
"version": "1.0.5",
"version": "1.0.6",
"description": "Client of https://exchangeratesapi.io/ with your free subscription plan. You can perform 'Source Currency Switching', 'Currency Conversion' and 'Time-Frame Queries' at no cost.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit d25cc58

Please sign in to comment.