Skip to content

Commit

Permalink
Merge pull request #123 from www0z0k/master
Browse files Browse the repository at this point in the history
fixed extra slash in /api makeRequest
  • Loading branch information
Federico Luzzi authored Feb 10, 2021
2 parents a56f3b2 + e75f518 commit 3f86b95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint:commit-message": "commitlint -e",
"lint": "yarn lint:code && yarn lint:prettier",
"prettify": "yarn lint:prettier --write",
"prepublishOnly": "npm run build"
"postinstall": "npm run build"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/BinanceApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ export class BinanceApiClient {
...parameters: [string, any][]
): Promise<any> {
const apiUrl: URL = new URL(
Path.join("/api", apiVersion, accessedResource),
Path.join("api", apiVersion, accessedResource),
"https://api.binance.com"
);

Expand Down

0 comments on commit 3f86b95

Please sign in to comment.