feat: add topics to tasks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { db, tasks } from "$lib/db/schema"
|
||||
import { db } from "$lib/db"
|
||||
|
||||
export const load = async () => {
|
||||
return {
|
||||
tasks: await db.select().from(tasks)
|
||||
tasks: await db.query.tasks.findMany()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user