pull/3200/head
Dax Raad 2025-10-15 19:48:57 -04:00
parent 2d2d4641cb
commit 790fe72f39
1 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,8 @@ export namespace Todo {
}
export async function get(sessionID: string) {
return Storage.read<Info[]>(["todo", sessionID]) ?? []
return Storage.read<Info[]>(["todo", sessionID])
.then((x) => x || [])
.catch(() => [])
}
}