diff --git a/app/modules/home/home.service.coffee b/app/modules/home/home.service.coffee index e64d6b09..06a9e89f 100644 --- a/app/modules/home/home.service.coffee +++ b/app/modules/home/home.service.coffee @@ -110,7 +110,7 @@ class HomeService extends taiga.Service params_uss = { is_closed: false - assigned_users: userId + assigned_to: userId } params_tasks = { diff --git a/app/modules/home/home.service.spec.coffee b/app/modules/home/home.service.spec.coffee index 04c79e2b..c1fb818d 100644 --- a/app/modules/home/home.service.spec.coffee +++ b/app/modules/home/home.service.spec.coffee @@ -107,7 +107,7 @@ describe "tgHome", -> mocks.resources.userstories.listInAllProjects .withArgs(sinon.match({ is_closed: false - assigned_users: userId + assigned_to: userId })) .promise() .resolve(Immutable.fromJS([{id: 1, ref: 1, project: "1"}]))