1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 09:58:13 +09:00

fix: play store result

This commit is contained in:
2022-04-13 15:24:26 +09:00
parent afa2e7d52e
commit 096ce42e20
3 changed files with 13 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ export default async function handler(
const apps = response[0][1][0][0][0].map((entry: any) => ({
id: entry[12][0],
name: entry[2],
description: entry[4][1][1][1][1],
author: entry[4][0][0][0],
rating: entry[6][0][2][1][1],
url: 'https://play.google.com' + entry[9][4][2],
}));
send(res, { result: apps.slice(0, 10) });