Add support for Nextcloud 25
parent
6849022573
commit
72367c5383
|
@ -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/1.png</screenshot>
|
||||||
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
|
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<nextcloud min-version="20" max-version="23"/>
|
<nextcloud min-version="22" max-version="25"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<website>https://github.com/nextcloud/weather</website>
|
<website>https://github.com/nextcloud/weather</website>
|
||||||
<bugs>https://github.com/nextcloud/weather/issues</bugs>
|
<bugs>https://github.com/nextcloud/weather/issues</bugs>
|
||||||
|
|
|
@ -136,7 +136,7 @@ class CityController extends IntermediateController {
|
||||||
true);
|
true);
|
||||||
|
|
||||||
// If no cod we just return a 502 as the API is not responding properly
|
// 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);
|
return array("code" => 502, "response" => null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue