Skip to contentOpen History to see the last commit
thread-load.ts
10 lines303 Bytes
2import { databasePool } from "./db"; 3import { loadThread } from "../ingest/thread-load"; 4export async function ensureThreadLoaded(id: number) { 6 await loadThread(databasePool(), id);