Skip to content

Commit

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

operator fun invoke(
inline operator fun invoke(
name: String,
context: URL = this.context,
query: Query.() -> Unit,
Expand Down

0 comments on commit ce636cd

Please sign in to comment.