Skip to content

Commit

Permalink
Update lib/fetchGeocoordinateFromBrazilLocation.js
Browse files Browse the repository at this point in the history
Co-authored-by: Luciano Pellacani Franca <luciano.franca@pagar.me>
  • Loading branch information
LorhanSohaky and lucianopf committed May 14, 2024
1 parent 989f2d4 commit 0588bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fetchGeocoordinateFromBrazilLocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function extractAltFromStreet(street) {

function getRandomUserAgent() {
const number = Math.floor(Math.random() * 10);
return `brasil-api-cep-${number}`;
return `brasil-api-cep-v2-${number}`;
}

async function fetchGeocoordinateFromBrazilLocation({
Expand Down

0 comments on commit 0588bb3

Please sign in to comment.