Fix array key check causing 502 error

master
Alfred Egger 2022-12-25 21:11:43 +01:00
parent 6fab29cb97
commit 6849022573
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class CityController extends IntermediateController {
true);
// If no cod we just return a 502 as the API is not responding properly
if (!array_key_exists('cod', $cityDatas)) {
if (!array_key_exists("cod", $cityDatas)) {
return array("code" => 502, "response" => null);
}