feat(apps.web#api.providers): add "params"

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Hanif Dwy Putra S
2022-05-23 01:45:11 +00:00
committed by GitHub
parent 1270c3d778
commit d7d11479a1

View File

@@ -9,6 +9,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
name: p.resourceName(),
url: p.client?.defaults.options.prefixUrl,
maintenance: p.maintenance,
params: p.getParams() ?? {},
}));
return res.send(providers);