MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / action

Function action

pages/api/banks/v1/index.js:4–8  ·  view source on GitHub ↗
(request, response)

Source from the content-addressed store, hash-verified

2import { getBanksData } from '@/services/banco-central';
3
4const action = async (request, response) => {
5 const allBanksData = await getBanksData();
6
7 return response.status(200).json(allBanksData);
8};
9
10export default app().get(action);

Callers

nothing calls this directly

Calls 1

getBanksDataFunction · 0.90

Tested by

no test coverage detected