mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 01:14:38 -05:00
use Object.entries
This commit is contained in:
parent
bdec2c7517
commit
bbf52f0cd3
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
let continuation = req.query.continuation || "";
|
||||
|
||||
try {
|
||||
const results = web;
|
||||
const results = Object.entries(web);
|
||||
|
||||
renderTemplate(res, req, "search-web.ejs", {
|
||||
j: "",
|
||||
|
|
Loading…
Reference in a new issue