BUG FIX: daily counter with update updated_at column

This commit is contained in:
dalbodeule 2024-07-27 21:06:56 +09:00
parent 18ee27e567
commit 64880318e8
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)
} }
} }