MCPcopy Create free account
hub / github.com/Y80/bmm / getPublicCheckHostsTask

Function getPublicCheckHostsTask

src/controllers/BookmarkHostCheck.controller.ts:242–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242async function getPublicCheckHostsTask() {
243 const row = await db.query.siteConfigs.findFirst({
244 where: eq(siteConfigs.key, CHECK_HOSTS_TASK_KEY),
245 })
246 return parseCheckHostsTaskValue(row?.value)
247}
248
249async function getUserCheckHostsTask(userId: UserId) {
250 const row = await db.query.userConfigs.findFirst({

Callers

nothing calls this directly

Calls 1

parseCheckHostsTaskValueFunction · 0.85

Tested by

no test coverage detected