update dependencies

This commit is contained in:
InsanusMokrassar 2022-12-05 18:12:45 +06:00
parent 74cf8c1a9a
commit 4024b040e0
2 changed files with 10 additions and 8 deletions

View File

@ -1,15 +1,15 @@
[versions]
kotlin = "1.7.21"
kotlin = "1.7.22"
kotlin-serialization = "1.4.1"
plagubot = "3.1.4"
tgbotapi = "4.1.3"
microutils = "0.14.4"
kslog = "0.5.3"
plagubot = "3.2.0"
tgbotapi = "4.2.0"
microutils = "0.15.0"
kslog = "0.5.4"
krontab = "0.8.3"
tgbotapi-libraries = "0.6.4"
plagubot-plugins = "0.6.3"
tgbotapi-libraries = "0.6.5"
plagubot-plugins = "0.6.4"
dokka = "1.7.20"

View File

@ -38,9 +38,11 @@ class ExposedPostsRepo(
override val selectById: ISqlExpressionBuilder.(PostId) -> Op<Boolean> = { idColumn.eq(it.string) }
override val selectByIds: ISqlExpressionBuilder.(List<PostId>) -> Op<Boolean> = { idColumn.inList(it.map { it.string }) }
override val ResultRow.asId: PostId
get() = PostId(get(idColumn))
override val ResultRow.asObject: RegisteredPost
get() {
val id = PostId(get(idColumn))
val id = asId
return RegisteredPost(
id,
DateTime(get(createdColumn)),