From 8aadd8a2d1c72965f040aa0c2508ef9900ecb152 Mon Sep 17 00:00:00 2001 From: mkaocodes Date: Fri, 5 Jul 2024 13:03:11 +0300 Subject: [PATCH] - Code cleaning --- app/src/main/java/dev/mkao/weaver/data/remote/NewsApi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/dev/mkao/weaver/data/remote/NewsApi.kt b/app/src/main/java/dev/mkao/weaver/data/remote/NewsApi.kt index 8051a22..6cae0dc 100644 --- a/app/src/main/java/dev/mkao/weaver/data/remote/NewsApi.kt +++ b/app/src/main/java/dev/mkao/weaver/data/remote/NewsApi.kt @@ -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,