From 865ecaf650904dc5975434e9f80f832502e94f16 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Mon, 25 Oct 2021 14:21:16 +0800 Subject: [PATCH] fix: community web url (#597) --- scripts/job-rcrm-status-migration/backup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/job-rcrm-status-migration/backup.js b/scripts/job-rcrm-status-migration/backup.js index 163a3eb7..03ef8658 100644 --- a/scripts/job-rcrm-status-migration/backup.js +++ b/scripts/job-rcrm-status-migration/backup.js @@ -15,7 +15,7 @@ async function backup () { fs.rmdirSync(filePath, { recursive: true }) } fs.mkdirSync(filePath) - let { body: jobs } = await request.get('https://www.topcoder-dev.com/api/recruit/jobs?job_status=1') + let { body: jobs } = await request.get('https://www.topcoder.com/api/recruit/jobs?job_status=1') jobs = jobs.map((item) => item.slug) if (jobs && jobs.length > 0) { try {