Skip to content

Commit c13ad75

Browse files
committed
GoogleWeatherProvider: fix key check
1 parent e4d64a5 commit c13ad75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

weather-api/src/main/java/com/thewizrd/weather_api/google/weather/GoogleWeatherProvider.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ class GoogleWeatherProvider : WeatherProviderImpl() {
115115
.build()
116116
)
117117
.url(requestUri.toString())
118+
.addUserAgent(context)
119+
.addGoogleAuth(context)
118120
.build()
119121

120122
// Connect to webstream

0 commit comments

Comments
 (0)