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

Function startCheckHostsTask

src/controllers/UserBookmark.controller.ts:218–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 const filters = await createFindManyFilters(parsedQuery, userId)
217 const rows = await db.select({ hostKey: userBookmarks.hostKey }).from(userBookmarks).where(filters)
218 return await BookmarkHostCheckController.checkHosts(rows.map((item) => item.hostKey))
219 },
220 async startCheckHostsTask() {
221 return await BookmarkHostCheckController.startUserCheckHostsTask(await getAuthedUserId())
222 },
223 async getCheckHostsTask() {

Callers

nothing calls this directly

Calls 1

getAuthedUserIdFunction · 0.90

Tested by

no test coverage detected