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