mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 04:37:58 +01: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 || "";
|
let continuation = req.query.continuation || "";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const results = web;
|
const results = Object.entries(web);
|
||||||
|
|
||||||
renderTemplate(res, req, "search-web.ejs", {
|
renderTemplate(res, req, "search-web.ejs", {
|
||||||
j: "",
|
j: "",
|
||||||
|
|
Loading…
Reference in a new issue