mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 18:45:49 +01:00
Pebble: add cod=200 to fake owm json response (fixes TimeStyle cheking the response code)
This commit is contained in:
parent
942984dec2
commit
453f94f8f6
@ -243,6 +243,7 @@ public class WebViewSingleton {
|
|||||||
main.put("temp_max", weatherSpec.todayMaxTemp);
|
main.put("temp_max", weatherSpec.todayMaxTemp);
|
||||||
main.put("name", weatherSpec.location);
|
main.put("name", weatherSpec.location);
|
||||||
|
|
||||||
|
resp.put("cod", 200);
|
||||||
resp.put("coord", coord);
|
resp.put("coord", coord);
|
||||||
resp.put("sys", sys);
|
resp.put("sys", sys);
|
||||||
resp.put("weather", weather);
|
resp.put("weather", weather);
|
||||||
|
Loading…
Reference in New Issue
Block a user