From bae9ee5ef9c0d4ae21fc5308292a0378f12ca436 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 2 Dec 2018 19:33:17 +0100 Subject: [PATCH] Fixed task path --- src/components/Home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Home.vue b/src/components/Home.vue index 708e3c35..0afd1186 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -58,7 +58,7 @@ }, loadPendingTasks() { const cancel = message.setLoading(this) - HTTP.get(`tasks`, {headers: {'Authorization': 'Bearer ' + localStorage.getItem('token')}}) + HTTP.get(`tasks/all`, {headers: {'Authorization': 'Bearer ' + localStorage.getItem('token')}}) .then(response => { this.tasks = response.data this.tasks.sort(this.sortyByDeadline)