Skip to content

Commit 043e752

Browse files
committed
Remove debugger, fix param
1 parent 8f8182b commit 043e752

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class BrokerBinREST {
3232
username = process.env.BROKERBIN_USERNAME || "",
3333
token = process.env.BROKERBIN_TOKEN || "",
3434
api_root = "https://search.brokerbin.com/api/v2"
35-
}) {
35+
} = {}) {
3636
this.username = username
3737
this.token = token
3838
this.api_root = api_root
@@ -50,7 +50,6 @@ class BrokerBinREST {
5050
* @returns {Promise} The response data or the response object.
5151
*/
5252
async request(endpoint, query, returnData = true) {
53-
debugger
5453
return axios({
5554
url: `${this.api_root}${endpoint}`,
5655
headers: {
@@ -827,7 +826,7 @@ class BrokerBinREST {
827826
* ----
828827
*
829828
*/
830-
async matches() {
829+
async matches(data) {
831830
return this.request("/part/history/matches", data)
832831
}
833832
}

0 commit comments

Comments
 (0)