From c32b6d82984d42d37550f7ebacdd38d247ff7c57 Mon Sep 17 00:00:00 2001 From: 409H <409H@users.noreply.github.com> Date: Tue, 2 Jul 2019 00:46:38 +0100 Subject: [PATCH] Added url in the return --- src/routes/v1/featured.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/v1/featured.ts b/src/routes/v1/featured.ts index 4825003..c2592de 100644 --- a/src/routes/v1/featured.ts +++ b/src/routes/v1/featured.ts @@ -5,7 +5,7 @@ export default async (req: Request, res: Response) => { res.json({ success: true, result: await db.all( - "SELECT id,name,description FROM entries WHERE type='verified' AND featured=1" + "SELECT id,name,description,url FROM entries WHERE type='verified' AND featured=1" ) }); };