update logging
This commit is contained in:
3
index.js
3
index.js
@@ -36,7 +36,6 @@ instance.prototype.init = function () {
|
|||||||
self.auth()
|
self.auth()
|
||||||
self.getWorkspace()
|
self.getWorkspace()
|
||||||
self.getCurrentTimer().then((timerId) => {
|
self.getCurrentTimer().then((timerId) => {
|
||||||
self.log('debug', 'Current timer id ' + timerId.id + ' ' + timerId.description)
|
|
||||||
self.setVariable('timerId', timerId.id)
|
self.setVariable('timerId', timerId.id)
|
||||||
self.setVariable('timerDescription', timerId.description)
|
self.setVariable('timerDescription', timerId.description)
|
||||||
})
|
})
|
||||||
@@ -259,7 +258,7 @@ instance.prototype.action = function (action) {
|
|||||||
}
|
}
|
||||||
case 'getCurrentTimer': {
|
case 'getCurrentTimer': {
|
||||||
self.getCurrentTimer().then((result) => {
|
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('timerId', result.id)
|
||||||
self.setVariable('timerDescription', result.description)
|
self.setVariable('timerDescription', result.description)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user