clockify is not using task name but task-type name

This commit is contained in:
Jakub Trllo 2019-03-11 19:33:20 +01:00
parent 5529c531cf
commit 292936c8c1
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ class StartClockify(BaseAction):
def launch(self, session, entities, event):
task = entities[0]
task_name = task['name']
task_name = task['type']['name']
project_name = task['project']['full_name']
def get_parents(entity):

View file

@ -314,7 +314,7 @@ class AppAction(BaseHandler):
# RUN TIMER IN Clockify
if clockify_timer is not None:
task_name = task['name']
task_name = task['type']['name']
project_name = task['project']['full_name']
def get_parents(entity):