Fixed task path

This commit is contained in:
konrad 2018-12-02 19:33:17 +01:00
parent 42ed060460
commit bae9ee5ef9
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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)