We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f8182b commit 043e752Copy full SHA for 043e752
lib/index.js
@@ -32,7 +32,7 @@ class BrokerBinREST {
32
username = process.env.BROKERBIN_USERNAME || "",
33
token = process.env.BROKERBIN_TOKEN || "",
34
api_root = "https://search.brokerbin.com/api/v2"
35
- }) {
+ } = {}) {
36
this.username = username
37
this.token = token
38
this.api_root = api_root
@@ -50,7 +50,6 @@ class BrokerBinREST {
50
* @returns {Promise} The response data or the response object.
51
*/
52
async request(endpoint, query, returnData = true) {
53
- debugger
54
return axios({
55
url: `${this.api_root}${endpoint}`,
56
headers: {
@@ -827,7 +826,7 @@ class BrokerBinREST {
827
826
* ----
828
*
829
830
- async matches() {
+ async matches(data) {
831
return this.request("/part/history/matches", data)
832
}
833
0 commit comments