Skip to content

Commit 2fb37d2

Browse files
committed
update
1 parent 3304da0 commit 2fb37d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

routes/kb.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,10 @@ router.post('/sitemap/import', async (req, res) => {
16191619
// }
16201620

16211621

1622+
let scrape_type = req.body.scrape_type;
1623+
let scrape_options = req.body.scrape_options;
1624+
let refresh_rate = req.body.refresh_rate;
1625+
16221626
let sitemap_content = {
16231627
id_project: project_id,
16241628
name: sitemap_url,
@@ -1639,10 +1643,6 @@ router.post('/sitemap/import', async (req, res) => {
16391643
return res.status(500).send({ success: false, error: err });
16401644
}
16411645

1642-
let scrape_type = req.body.scrape_type;
1643-
let scrape_options = req.body.scrape_options;
1644-
let refresh_rate = req.body.refresh_rate;
1645-
16461646
let kbs = urls.map((url) => {
16471647
let kb = {
16481648
id_project: project_id,

0 commit comments

Comments
 (0)