fix(scraper): section name property is singular
ci/woodpecker/push/lint Pipeline was successful Details

This commit is contained in:
Aire-One 2022-08-13 02:57:06 +02:00
parent 249e836fd6
commit 2e2c8b7d1f
1 changed files with 1 additions and 1 deletions

View File

@ -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