Skip to content

Commit

Permalink
Merge pull request #4 from wsyu52/wsyu/update_task_activities_route
Browse files Browse the repository at this point in the history
Update task activity route
  • Loading branch information
messense committed Jan 11, 2017
2 parents fb25c5e + fb32b8b commit a15b845
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions teambition/api/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,7 @@ def get_activities(self, id):
:param id: 任务 ID
:return: 返回的 JSON 数据包
"""
return self._get(
'api/activities',
params={'_boundToObjectId': id}
)
return self._get('api/tasks/{0}/activities'.format(id))

def import_tasks(self, tasklist_id, tasks, stage_id=None, executor_id=None,
involve_members=None, due_date=None, visiable=None):
Expand Down

0 comments on commit a15b845

Please sign in to comment.