API fetch gets called twice - Retrofit
I'm fiddling with public imdb-api, but the free version has only 100 api calls available daily. I've noticed my function responsible for fetching data is being called twice. I'm exactly sure why is that. Any tips apprecieated.
ApiService interface
interface ApiService {
/**
* Get top 250 Movies
*/
@GET("en/API/Top250Movies/{apiKey}")
suspend fun getMovies(@Path("apiKey") apiKey : String) : MovieList
/**
* Get detailed info about a title with certain ID...