mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
BUG FIX: daily counter with update updated_at column
This commit is contained in:
parent
18ee27e567
commit
64880318e8
@ -1,6 +1,6 @@
|
|||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
group = space.mori
|
group = space.mori
|
||||||
version = 1.0.1
|
version = 1.0.2
|
||||||
|
|
||||||
org.gradle.jvmargs=-Dfile.encoding=UTF-8
|
org.gradle.jvmargs=-Dfile.encoding=UTF-8
|
||||||
org.gradle.console=plain
|
org.gradle.console=plain
|
||||||
|
@ -96,6 +96,7 @@ object CounterService {
|
|||||||
Pair(counter.value, false)
|
Pair(counter.value, false)
|
||||||
else {
|
else {
|
||||||
counter.value += increment
|
counter.value += increment
|
||||||
|
counter.updatedAt = today
|
||||||
Pair(counter.value, true)
|
Pair(counter.value, true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user