fix for PublishingKeysRepoKtorClient

This commit is contained in:
InsanusMokrassar 2020-08-17 22:06:33 +06:00
parent b4798bc062
commit 5d900e9032

View File

@ -3,6 +3,7 @@ package com.insanusmokrassar.postssystem.publishing.ktor.client
import com.insanusmokrassar.postssystem.core.publishing.repos.PublishingKeysRepo
import com.insanusmokrassar.postssystem.core.publishing.repos.ReadPublishingKeysRepo
import com.insanusmokrassar.postssystem.core.publishing.repos.WritePublishingKeysRepo
import com.insanusmokrassar.postssystem.publishing.ktor.publishingKeysRootRoute
import io.ktor.client.HttpClient
import io.ktor.client.features.websocket.WebSockets
@ -17,11 +18,11 @@ class PublishingKeysRepoKtorClient private constructor (
}
) : this (
ReadPublishingKeysRepoKtorClient (
baseUrl,
"$baseUrl/$publishingKeysRootRoute",
client
),
WritePublishingKeysRepoKtorClient(
baseUrl,
"$baseUrl/$publishingKeysRootRoute",
client
)
)