Skip to content

Commit

Permalink
Added url in the return
Browse files Browse the repository at this point in the history
  • Loading branch information
409H committed Jul 1, 2019
1 parent b8f8979 commit c32b6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/v1/featured.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
});
};

0 comments on commit c32b6d8

Please sign in to comment.