From 61c214a5946f4824e3c80224a71e6edb5db1b660 Mon Sep 17 00:00:00 2001 From: mramotar Date: Fri, 12 Jan 2024 19:24:24 -0500 Subject: [PATCH] Fix params --- .../kotlin/ai/wandering/scoop/v1/impl/RealScoopClient.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v1/src/commonMain/kotlin/ai/wandering/scoop/v1/impl/RealScoopClient.kt b/v1/src/commonMain/kotlin/ai/wandering/scoop/v1/impl/RealScoopClient.kt index 2a0e13a..08716f5 100644 --- a/v1/src/commonMain/kotlin/ai/wandering/scoop/v1/impl/RealScoopClient.kt +++ b/v1/src/commonMain/kotlin/ai/wandering/scoop/v1/impl/RealScoopClient.kt @@ -10,7 +10,7 @@ import ai.wandering.scoop.v1.http.impl.RealGetUSTopStories import io.ktor.client.* internal class RealScoopClient(httpClient: HttpClient, bearerToken: String) : ScoopClient { - override val getGlobalTopStories: GetGlobalTopStories = RealGetGlobalTopStories(httpClient) - override val getUSTopStories: GetUSTopStories = RealGetUSTopStories(httpClient) - override val getPublications: GetPublications = RealGetPublications(httpClient) + override val getGlobalTopStories: GetGlobalTopStories = RealGetGlobalTopStories(httpClient, bearerToken) + override val getUSTopStories: GetUSTopStories = RealGetUSTopStories(httpClient, bearerToken) + override val getPublications: GetPublications = RealGetPublications(httpClient, bearerToken) } \ No newline at end of file