From 95a217e3c3711fc93bece62b8161137aa99a90cc Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 16 Nov 2019 20:33:29 -0500 Subject: [PATCH] Fix keypairs --- .gitignore | 4 +++- src/api/Security.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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`); } /**