From 1a4542438279e88050e2239e9dd6f871dc5634a8 Mon Sep 17 00:00:00 2001 From: Jens Fischer Date: Fri, 1 Dec 2023 14:00:20 +0100 Subject: [PATCH] Fix incorrect property name (Run.canceledAt -> cancelledAt) --- .../src/commonMain/kotlin/com.aallam.openai.api/run/Run.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openai-core/src/commonMain/kotlin/com.aallam.openai.api/run/Run.kt b/openai-core/src/commonMain/kotlin/com.aallam.openai.api/run/Run.kt index a1a608c1..e59476f8 100644 --- a/openai-core/src/commonMain/kotlin/com.aallam.openai.api/run/Run.kt +++ b/openai-core/src/commonMain/kotlin/com.aallam.openai.api/run/Run.kt @@ -61,9 +61,9 @@ public data class Run( @SerialName("started_at") val startedAt: Int? = null, /** - * The Unix timestamp (in seconds) for when the run was canceled. + * The Unix timestamp (in seconds) for when the run was cancelled. */ - @SerialName("canceled_at") val canceledAt: Int? = null, + @SerialName("cancelled_at") val cancelledAt: Int? = null, /** * The Unix timestamp (in seconds) for when the run failed.