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

Function action

pages/api/ibge/uf/v1/index.js:4–9  ·  view source on GitHub ↗
(_, response)

Source from the content-addressed store, hash-verified

2import { getUfs } from '@/services/ibge/gov';
3
4const action = async (_, response) => {
5 const { data, status } = await getUfs();
6
7 response.status(status);
8 return response.json(data);
9};
10
11export default app().get(action);

Callers

nothing calls this directly

Calls 1

getUfsFunction · 0.90

Tested by

no test coverage detected