core: fix type error in account repo list mapping

This commit is contained in:
Kit Langton
2026-03-09 18:24:02 -04:00
parent b4b24cf691
commit 28f795a9a0

View File

@@ -67,7 +67,7 @@ export class AccountRepo extends ServiceMap.Service<
db((db) => current(db)).pipe(Effect.map((row) => (row ? Option.some(decodeAccount(row)) : Option.none()))),
),
list: Effect.fn("AccountRepo.list")(() => db((db) => db.select().from(AccountTable).all().map(decodeAccount))),
list: Effect.fn("AccountRepo.list")(() => db((db) => db.select().from(AccountTable).all().map((row) => decodeAccount(row)))),
remove: Effect.fn("AccountRepo.remove")((accountID: AccountID) =>
db((db) =>