From b075b36c69746d7cd210a86ef7baa74ec7975fe6 Mon Sep 17 00:00:00 2001 From: NovaFox161 Date: Mon, 28 Jul 2025 01:44:26 -0500 Subject: [PATCH] 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 --- .../discal/core/object/new/model/discal/InstanceDataV3Model.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/kotlin/org/dreamexposure/discal/core/object/new/model/discal/InstanceDataV3Model.kt b/core/src/main/kotlin/org/dreamexposure/discal/core/object/new/model/discal/InstanceDataV3Model.kt index 1fb189e8..df8b0c5f 100644 --- a/core/src/main/kotlin/org/dreamexposure/discal/core/object/new/model/discal/InstanceDataV3Model.kt +++ b/core/src/main/kotlin/org/dreamexposure/discal/core/object/new/model/discal/InstanceDataV3Model.kt @@ -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