fix(scraper): section name property is singular
ci/woodpecker/push/lint Pipeline was successful
Details
ci/woodpecker/push/lint Pipeline was successful
Details
This commit is contained in:
parent
249e836fd6
commit
2e2c8b7d1f
|
@ -200,7 +200,7 @@ function scraper.get_doc_from_page(html)
|
||||||
end
|
end
|
||||||
|
|
||||||
local doc = utils.map(sections_titles, function(title, i)
|
local doc = utils.map(sections_titles, function(title, i)
|
||||||
return { sections = title, items = section_contents[i] }
|
return { section = title, items = section_contents[i] }
|
||||||
end)
|
end)
|
||||||
|
|
||||||
return doc
|
return doc
|
||||||
|
|
Loading…
Reference in New Issue