Skip to content

Commit

Permalink
- Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaomwakuni committed Jul 5, 2024
1 parent bf6bb49 commit 8aadd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/dev/mkao/weaver/data/remote/NewsApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import retrofit2.http.Query

interface NewsApi {
//base url for the news api
//https://newsapi.org/v2/top-headlines?country=us&category=business&apiKey=2d8537ffd9a94e55b63b570ff2674a3a
//https://newsapi.org/v2/top-headlines?country=us&category=business&apiKey={}
@GET("top-headlines")
suspend fun getTopHeadlines(
@Query("category") category: String,
Expand Down

0 comments on commit 8aadd8a

Please sign in to comment.