mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
feat(apps.web#stored-links): add return
Signed-off-by: hansputera <hanifdwyputrasembiring@gmail.com>
This commit is contained in:
@@ -6,5 +6,5 @@ import {matchLink} from 'tiktok-dl-core';
|
||||
export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
await ratelimitMiddleware(req, res);
|
||||
const keys = await client.keys('*');
|
||||
res.status(200).json(keys.filter((x) => matchLink(x)));
|
||||
return res.status(200).json(keys.filter((x) => matchLink(x)));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user