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.PublishingKeysRepo
|
||||||
import com.insanusmokrassar.postssystem.core.publishing.repos.ReadPublishingKeysRepo
|
import com.insanusmokrassar.postssystem.core.publishing.repos.ReadPublishingKeysRepo
|
||||||
import com.insanusmokrassar.postssystem.core.publishing.repos.WritePublishingKeysRepo
|
import com.insanusmokrassar.postssystem.core.publishing.repos.WritePublishingKeysRepo
|
||||||
|
import com.insanusmokrassar.postssystem.publishing.ktor.publishingKeysRootRoute
|
||||||
import io.ktor.client.HttpClient
|
import io.ktor.client.HttpClient
|
||||||
import io.ktor.client.features.websocket.WebSockets
|
import io.ktor.client.features.websocket.WebSockets
|
||||||
|
|
||||||
@ -17,11 +18,11 @@ class PublishingKeysRepoKtorClient private constructor (
|
|||||||
}
|
}
|
||||||
) : this (
|
) : this (
|
||||||
ReadPublishingKeysRepoKtorClient (
|
ReadPublishingKeysRepoKtorClient (
|
||||||
baseUrl,
|
"$baseUrl/$publishingKeysRootRoute",
|
||||||
client
|
client
|
||||||
),
|
),
|
||||||
WritePublishingKeysRepoKtorClient(
|
WritePublishingKeysRepoKtorClient(
|
||||||
baseUrl,
|
"$baseUrl/$publishingKeysRootRoute",
|
||||||
client
|
client
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user