-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interceptor added to retrofit client #26
Conversation
Closes #25 |
data/network/src/main/java/io/filmtime/data/network/NetworkModule.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @Sobhan-mp. Please review the comments and apply the changes. Do not forget to format code as mentioned in README
data/network/src/main/java/io/filmtime/data/network/TmdbMoviesService.kt
Outdated
Show resolved
Hide resolved
data/network/src/main/java/io/filmtime/data/network/TmdbMoviesService.kt
Outdated
Show resolved
Hide resolved
data/network/src/main/java/io/filmtime/data/network/TmdbShowsService.kt
Outdated
Show resolved
Hide resolved
): NetworkResponse<TmdbShowDetailsResponse, TmdbErrorResponse> | ||
|
||
@GET("trending/tv/{time_window}") | ||
suspend fun getTrendingShows( | ||
@Path("time_window") timeWindow: String, | ||
@Query("api_key") apiKey: String = BuildConfig.TMDB_API_KEY, | ||
@Path("time_window") timeWindow: String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same about trailing commas
@Path("time_window") timeWindow: String | |
@Path("time_window") timeWindow: String, |
data/network/src/main/java/io/filmtime/data/network/NetworkModule.kt
Outdated
Show resolved
Hide resolved
data/network/src/main/java/io/filmtime/data/network/interceptor/ApiKeyInterceptor.kt
Outdated
Show resolved
Hide resolved
@hadi-norouzi @moallemi Thank you both for your comments. I have updated my branch with adding required changes. |
Hi @moallemi , Are there any problems? Since you haven't accepted my pr yet... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sobhan-mp Thanks for your contribution 🙏
No description provided.