fix for PublishingKeysRepoKtorClient
This commit is contained in:
parent
b4798bc062
commit
5d900e9032
@ -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
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user