Skip to content

Commit fe68b42

Browse files
committed
fix(apix): OpenMeteo gfs default coordinates
1 parent 4299a5e commit fe68b42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/main/kotlin/com/openmeteo/apix/OpenMeteo.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ class OpenMeteo(
124124
) = invoke(GeocodingSearch.Query(name, count, language))
125125

126126
fun gfs(
127-
latitude: Float,
128-
longitude: Float,
127+
latitude: Float = this.latitude,
128+
longitude: Float = this.longitude,
129129
hourly: Iterable<com.openmeteo.apix.gfs.Hourly>? = null,
130130
daily: Iterable<com.openmeteo.apix.gfs.Daily>?,
131131
currentWeather: Boolean? = null,

0 commit comments

Comments
 (0)