task saving: added missing await
This commit is contained in:
parent
8c6dc06bb0
commit
47c522fb3f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export async function saveTasks(tasks: TasksFile) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch("/tasks.json", options)
|
await fetch("/tasks.json", options)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createTaskMap(tasks: TasksFile): TaskMap {
|
export function createTaskMap(tasks: TasksFile): TaskMap {
|
||||||
|
|
Reference in a new issue