mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-05 19:51:57 +02:00
committed by
GitHub
parent
33b8560b5e
commit
3cc981b73d
@@ -10,10 +10,12 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
name: p.resourceName(),
|
||||
url: p.client?.defaults.options.prefixUrl,
|
||||
maintenance: p.maintenance,
|
||||
params: p.getParams() ? Object.keys(p.getParams()!).map((x) => ({
|
||||
name: x,
|
||||
type: (p.getParams()![x] as Shape).type,
|
||||
})) : {},
|
||||
params: p.getParams()
|
||||
? Object.keys(p.getParams()!).map((x) => ({
|
||||
name: x,
|
||||
type: (p.getParams()![x] as Shape).type,
|
||||
}))
|
||||
: {},
|
||||
}));
|
||||
|
||||
return res.send(providers);
|
||||
|
||||
Reference in New Issue
Block a user