Fixed task path
This commit is contained in:
parent
42ed060460
commit
bae9ee5ef9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue