Skip to content

Conversation

AdeilsonESilva
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch mexc-api-sdk@1.0.3 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/mexc-api-sdk/src/modules/base.js b/node_modules/mexc-api-sdk/src/modules/base.js
index 7a23d2a..d6dfc0f 100644
--- a/node_modules/mexc-api-sdk/src/modules/base.js
+++ b/node_modules/mexc-api-sdk/src/modules/base.js
@@ -35,8 +35,7 @@ class Base {
             baseURL: this.config.baseURL,
             url: path,
             headers: {
-                'Content-Type': 'application/json',
-                'X-MEXC-APIKEY': this.config.apiKey
+                'Content-Type': 'application/json'
             }
         });
     }

This issue body was partially generated by patch-package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant