From 2631b396784de62fd2caa520551b48ac69080040 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 10 Mar 2019 12:59:17 +0000 Subject: [PATCH] Fixed getting tasks (#27) --- src/components/lists/ShowTasks.vue | 46 +++++++++--------------------- src/services/task.js | 2 +- 2 files changed, 14 insertions(+), 34 deletions(-) diff --git a/src/components/lists/ShowTasks.vue b/src/components/lists/ShowTasks.vue index ea247a19..5e6c6b02 100644 --- a/src/components/lists/ShowTasks.vue +++ b/src/components/lists/ShowTasks.vue @@ -2,11 +2,11 @@

Current tasks

Tasks from {{startDate.toLocaleDateString()}} until {{endDate.toLocaleDateString()}}

- diff --git a/src/services/task.js b/src/services/task.js index e63cadb5..c72da13c 100644 --- a/src/services/task.js +++ b/src/services/task.js @@ -5,7 +5,7 @@ export default class TaskService extends AbstractService { constructor() { super({ create: '/lists/{listID}', - getAll: '/tasks/all/{sortBy}/{startDate}/{endDate}', + getAll: '/tasks/all', update: '/tasks/{id}', delete: '/tasks/{id}', });