task saving: added missing await

This commit is contained in:
Vašek Šraier 2020-09-28 11:59:03 +02:00
parent 8c6dc06bb0
commit 47c522fb3f

View file

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