From b80905dda55375be30375b77a1fe14bef97db6b6 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 1 Aug 2022 17:11:53 +0000 Subject: [PATCH] update logging --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 2198377..adbaa07 100644 --- a/index.js +++ b/index.js @@ -36,7 +36,6 @@ instance.prototype.init = function () { self.auth() self.getWorkspace() self.getCurrentTimer().then((timerId) => { - self.log('debug', 'Current timer id ' + timerId.id + ' ' + timerId.description) self.setVariable('timerId', timerId.id) self.setVariable('timerDescription', timerId.description) }) @@ -259,7 +258,7 @@ instance.prototype.action = function (action) { } case 'getCurrentTimer': { self.getCurrentTimer().then((result) => { - self.log('debug', 'Current timer id ' + result.id) + self.log('debug', 'Current timer id ' + timerId.id + ' ' + timerId.description) self.setVariable('timerId', result.id) self.setVariable('timerDescription', result.description) })