diff --git a/.gitignore b/.gitignore index 9ce8048..afbe239 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ yarn.lock src/config.json package-lock.json htmlEmail_templates -yarn-error.log \ No newline at end of file +yarn-error.log +src/keys.json +dist \ No newline at end of file diff --git a/src/api/Security.ts b/src/api/Security.ts index 11b0589..95010b0 100644 --- a/src/api/Security.ts +++ b/src/api/Security.ts @@ -9,7 +9,7 @@ export default class Security { constructor(client: Client) { this.client = client; - this.keyPair = client.config.keyPair; + this.keyPair = require(`${process.cwd()}/keys.json`); } /**