From b614a6258abec75880d1995116101ae8ca53e44f Mon Sep 17 00:00:00 2001 From: Juanfran Date: Mon, 4 Aug 2014 10:12:18 +0200 Subject: [PATCH] fix bulk tasks --- app/coffee/modules/resources/tasks.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/resources/tasks.coffee b/app/coffee/modules/resources/tasks.coffee index 5a65057d..b8c8f2c4 100644 --- a/app/coffee/modules/resources/tasks.coffee +++ b/app/coffee/modules/resources/tasks.coffee @@ -36,7 +36,7 @@ resourceProvider = ($repo, $http, $urls) -> service.bulkCreate = (projectId, sprintId, usId, data) -> url = $urls.resolve("bulk-create-tasks") - params = {projectId: projectId, sprintId: sprintId, usId: usId, bulkTasks: data} + params = {project_id: projectId, sprint_id: sprintId, us_id: usId, bulk_tasks: data} return $http.post(url, params).then (result) -> return result.data