From 90cb35f4774b5a924a72eecbea5f82f142b3b407 Mon Sep 17 00:00:00 2001 From: RMCob <49130485+RMCob@users.noreply.github.com> Date: Tue, 11 Jan 2022 17:13:07 -0500 Subject: [PATCH] Update WyzeAPI.js --- src/WyzeAPI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WyzeAPI.js b/src/WyzeAPI.js index 3fd081e..5e908fb 100644 --- a/src/WyzeAPI.js +++ b/src/WyzeAPI.js @@ -33,7 +33,7 @@ module.exports = class WyzeAPI { this.access_token = ''; this.refresh_token = ''; - this.dumpData = true; + this.dumpData = false; // Set this to true to log the Wyze object data blob one time at startup. } getRequestData(data = {}) { @@ -96,7 +96,7 @@ module.exports = class WyzeAPI { this.log.debug(`API response: ${JSON.stringify(result.data)}`); if (this.dumpData) { this.log.info(`API response: ${JSON.stringify(result.data)}`); - this.dumpData = false; + this.dumpData = false; // Only want to do this once at start-up } } catch (e) { this.log.error(`Request failed: ${e}`);