Commit 18819c78 authored by Jordan Breton's avatar Jordan Breton

zipcode changes

parent 39e47010
......@@ -54,7 +54,7 @@ final class FindHandler implements IActionHandler {
$res = $this->_rule->applyTo($data);
if($res->satisfied()){
return new Response($this->_access->getCities(
$data["country"]??"france",$data["zipCode"]
$data["country"]??"fr",$data["zipCode"]
));
}else return new ErrorResponse("201",$res->message(),$res->errors());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment