Skip to content
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

Merged
merged 5 commits into from
Dec 1, 2023

Conversation

Sobhan-mp
Copy link
Contributor

No description provided.

@Sobhan-mp Sobhan-mp closed this Nov 9, 2023
@Sobhan-mp Sobhan-mp reopened this Nov 9, 2023
@Sobhan-mp Sobhan-mp changed the title Interceptor added to retrofit client #25 Interceptor added to retrofit client Nov 9, 2023
@Sobhan-mp
Copy link
Contributor Author

Closes #25

Copy link
Owner

@moallemi moallemi left a 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

): 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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same about trailing commas

Suggested change
@Path("time_window") timeWindow: String
@Path("time_window") timeWindow: String,

@Sobhan-mp
Copy link
Contributor Author

@hadi-norouzi @moallemi Thank you both for your comments. I have updated my branch with adding required changes.
Please take a look...

@Sobhan-mp
Copy link
Contributor Author

Hi @moallemi , Are there any problems? Since you haven't accepted my pr yet...
Please provide feedbacks if you've found any problems in my code.
Thank you

Copy link
Owner

@moallemi moallemi left a 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 🙏

@moallemi moallemi merged commit 8b98fee into moallemi:dev Dec 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants