Skip to content

Commit 8cb71f6

Browse files
committed
chore: use unified github host
Signed-off-by: Mouad BANI <mouad-mb@outlook.com>
1 parent cd86897 commit 8cb71f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/apps/packages_worker/src/security-contacts/processBatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function fetchBatch(qx: QueryExecutor, config: Config): Promise<SweepRow[]
5656
FROM repos r
5757
JOIN package_repos pr ON pr.repo_id = r.id
5858
JOIN packages p ON p.id = pr.package_id AND p.is_critical
59-
WHERE r.host = 'github'
59+
WHERE r.host IN ('github', 'github.com')
6060
AND (
6161
r.contacts_last_refreshed IS NULL
6262
OR r.contacts_last_refreshed < NOW() - INTERVAL '$(updateIntervalHours) hours'

0 commit comments

Comments
 (0)