diff --git a/packages/core/src/session/todo.ts b/packages/core/src/session/todo.ts index 6b940c1047..c5ad70afad 100644 --- a/packages/core/src/session/todo.ts +++ b/packages/core/src/session/todo.ts @@ -63,7 +63,11 @@ export const layer = Layer.effect( .orderBy(asc(TodoTable.position)) .all() .pipe(Effect.orDie) - return rows + return rows.map((row) => ({ + content: row.content, + status: row.status, + priority: row.priority, + })) }) return Service.of({ update, get })