Skip to content

Commit

Permalink
feat: inlined GeocodingGet invoke operator
Browse files Browse the repository at this point in the history
  • Loading branch information
DadiBit committed Jul 15, 2023
1 parent d049cf8 commit 387f23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/openmeteo/api/GeocodingGet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object GeocodingGet : Endpoint(
operator fun invoke(query: Query, context: URL = this.context) =
query<Response, Query>(query, context)

operator fun invoke(
inline operator fun invoke(
id: Int,
context: URL = this.context,
query: Query.() -> Unit = {},
Expand Down

0 comments on commit 387f23e

Please sign in to comment.