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

Function addCapital

services/ibge/gov.js:38–41  ·  view source on GitHub ↗
(uf)

Source from the content-addressed store, hash-verified

36};
37
38const addCapital = (uf) => ({
39 ...uf,
40 capital: UF_CAPITAIS[uf.sigla] ?? null,
41});
42
43export const getUfs = () =>
44 axios.get(URL_UF).then((response) => {

Callers 1

getUfByCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected