Fix refresh error with IMO

This commit is contained in:
Julien Papasian 2025-11-22 10:30:34 +01:00
parent 1644228571
commit 26c6d983ee
2 changed files with 3 additions and 2 deletions

View file

@ -11,6 +11,7 @@
- New broadcast: you can use `org.breezyweather.ACTION_UPDATE_NOTIFIER` (or `org.breezyweather.debug.ACTION_UPDATE_NOTIFIER` with the debug build) to be notified of updated locations (most common use case is coupled with the content provider) - New broadcast: you can use `org.breezyweather.ACTION_UPDATE_NOTIFIER` (or `org.breezyweather.debug.ACTION_UPDATE_NOTIFIER` with the debug build) to be notified of updated locations (most common use case is coupled with the content provider)
**Weather sources** **Weather sources**
- Icelandic Met Office - Fix refresh error
- Pirate Weather - Fix refresh error - Pirate Weather - Fix refresh error

View file

@ -10,12 +10,12 @@ import retrofit2.http.Path
import retrofit2.http.Query import retrofit2.http.Query
interface VedurIsApi { interface VedurIsApi {
@GET("_next/data/b1ce8e8380f4594e6919452d675c101350142055/en/vedur/spar/{id}.json") @GET("_next/data/3398a8881de02c75a8a910a79dba2473fde746f3/en/vedur/spar/{id}.json")
fun getForecast( fun getForecast(
@Path("id") id: String, @Path("id") id: String,
): Observable<VedurIsResult> ): Observable<VedurIsResult>
@GET("_next/data/b1ce8e8380f4594e6919452d675c101350142055/en/vedur/athuganir/{id}.json") @GET("_next/data/3398a8881de02c75a8a910a79dba2473fde746f3/en/vedur/athuganir/{id}.json")
fun getCurrent( fun getCurrent(
@Path("id") id: String, @Path("id") id: String,
): Observable<VedurIsResult> ): Observable<VedurIsResult>