@ -23,7 +23,7 @@ function M.prune_search_db()
accept = "application/json",
})
if res then
if res.status ~= 404 then
local tab = json.parse(res.body)
if tab and tab['total'] > 0 then
for i, v in ipairs(tab['results']) do