Skip to contentOpen History to see the last commit
thread-watch.ts
6 lines262 Bytes
2import { databasePool } from "./db"; 3import { updateThreadView } from "../ingest/thread-watch"; 4export function watchThread(id: number, viewer?: string, released = false) { 5 return updateThreadView(databasePool(), id, viewer, released);