Skip to content

Commit

Permalink
fix: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinPetel committed Sep 13, 2024
1 parent 44e219a commit 6e87624
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/src/logic/handlers/geoHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ const getDataFromCP = async (providedCP, providedCodeInsee) => {
};
}

if (providedCP && (!geoController.isValidCodePostal(providedCP.trim()) && !geoController.isValidCodeInsee(providedCP.trim()))) {
if (
providedCP &&
!geoController.isValidCodePostal(providedCP.trim()) &&
!geoController.isValidCodeInsee(providedCP.trim())
) {
return {
result: {},
messages: {
Expand Down

0 comments on commit 6e87624

Please sign in to comment.