1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

Pebble: add cod=200 to fake owm json response (fixes TimeStyle cheking the response code)

This commit is contained in:
Andreas Shimokawa 2017-03-08 10:46:33 +01:00
parent 942984dec2
commit 453f94f8f6

View File

@ -243,6 +243,7 @@ public class WebViewSingleton {
main.put("temp_max", weatherSpec.todayMaxTemp);
main.put("name", weatherSpec.location);
resp.put("cod", 200);
resp.put("coord", coord);
resp.put("sys", sys);
resp.put("weather", weather);