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

Function fetchCepPromise

services/cep/cep.js:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 const fetchCepPromise = () =>
72 cepPromise(cleanCep, {
73 providers,
74 timeout: 5000,
75 });
76
77 return fetchOpenCep(cleanCep).catch(() =>
78 fetchCepPromise().then(async (data) => {

Callers 1

fetchCepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected