mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-01-04 19:10:04 -06:00
Just setting this as a string because my jackson mapper doesn't seem to be working and I'm too long into this to care enough to fix it properly right now
This commit is contained in:
@@ -11,7 +11,8 @@ data class InstanceDataV3Model(
|
||||
val version: String = GitProperty.DISCAL_VERSION.value,
|
||||
val d4jVersion: String = GitProperty.DISCAL_VERSION_D4J.value,
|
||||
val uptime: Duration = Application.getUptime(),
|
||||
val lastHeartbeat: Instant = Instant.now(),
|
||||
// TODO: This really should just be instant, but my custom jackson mapper doesn't seem to be working
|
||||
val lastHeartbeat: String = Instant.now().toString(),
|
||||
val memory: Double = Application.getMemoryUsedInMb(),
|
||||
) {
|
||||
val humanUptime: String
|
||||
|
||||
Reference in New Issue
Block a user