diff options
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/manga')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt b/app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt index 77304bb..419d510 100644 --- a/app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt +++ b/app/src/main/java/xyz/adjutor/aniki/manga/MangaApi.kt @@ -2,10 +2,11 @@ package xyz.adjutor.aniki.manga import retrofit2.Call import retrofit2.http.GET +import retrofit2.http.Path interface MangaApi { - @GET("v3/manga/1") - fun getMangaData(): Call<RestMangaResponse> + @GET("v3/manga/{id}") + fun getMangaData(@Path("id") id: String): Call<RestMangaResponse> }
\ No newline at end of file |