mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2025-12-09 22:45:43 +00:00
complete publishing part
This commit is contained in:
@@ -30,7 +30,7 @@ object Plugin : Plugin {
|
||||
return
|
||||
}
|
||||
single { get<Json>().decodeFromJsonElement(Config.serializer(), configJson) }
|
||||
single<PostsRepo> { ExposedPostsRepo(database, get()) }
|
||||
single<PostsRepo> { ExposedPostsRepo(database) }
|
||||
single {
|
||||
val config = get<Config>()
|
||||
PostPublisher(get(), get(), config.cacheChatId, config.targetChatId)
|
||||
|
||||
Reference in New Issue
Block a user