Skip to content

Commit

Permalink
Changed base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavik Urdzik authored and Slavik Urdzik committed Feb 17, 2020
1 parent 4c885c7 commit 09f62cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/example/movieapp/network/MovieApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterF
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory

private const val BASE_URL = "https://api.myjson.com/bins/"
private const val BASE_URL = "https://raw.githubusercontent.com/Urdzik/helper/master/"

//Main entry point for network access
object MovieApi {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import retrofit2.http.GET

//A retrofit service to fetch movie playlist.
interface MovieApiService {
@GET("19tvhm")
@GET("movie.json")
suspend fun getPropertyAsync(): List<MovieProperty>
}

Expand Down

0 comments on commit 09f62cc

Please sign in to comment.