()
| 240 | } |
| 241 | |
| 242 | async 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 | |
| 249 | async function getUserCheckHostsTask(userId: UserId) { |
| 250 | const row = await db.query.userConfigs.findFirst({ |
nothing calls this directly
no test coverage detected