Skip to content

Commit

Permalink
fix: consultSiteUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudambro committed Jul 29, 2024
1 parent 78324e2 commit fab0ef3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api-node/src/utils/bathing_water/bathing_water.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ function getBathingWaterLatestResultDate(
return latestResultDate;
}

const consultSiteUrl = new URL(
'https://baignades.sante.gouv.fr/baignades/consultSite.do',
);
function buildBathingWaterUrl(bathingWater: BathingWater): string {
const consultSiteUrl = new URL(
'https://baignades.sante.gouv.fr/baignades/consultSite.do',
);
const consultSiteQuery: any = {
dptddass: bathingWater.dptddass,
site: bathingWater.id_site,
Expand Down

0 comments on commit fab0ef3

Please sign in to comment.