Add support for Nextcloud 25

master
Alfred Egger 2022-12-25 21:15:27 +01:00
parent 6849022573
commit 72367c5383
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
<dependencies>
<nextcloud min-version="20" max-version="23"/>
<nextcloud min-version="22" max-version="25"/>
</dependencies>
<website>https://github.com/nextcloud/weather</website>
<bugs>https://github.com/nextcloud/weather/issues</bugs>

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);
}