From e87c4066958473a5a684629114fe5c45f91d1c46 Mon Sep 17 00:00:00 2001 From: Trey t Date: Fri, 14 Nov 2025 10:01:36 -0600 Subject: [PATCH] Restore completion_date field to TaskCompletionCreateRequest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The completion_date should be provided by the client, not auto-generated by the backend. Backend has been updated to accept this field. This allows clients to specify when the task was actually completed, which may be different from when the completion record is created. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../kotlin/com/example/mycrib/models/TaskCompletion.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/com/example/mycrib/models/TaskCompletion.kt b/composeApp/src/commonMain/kotlin/com/example/mycrib/models/TaskCompletion.kt index 0eab76a..fd79829 100644 --- a/composeApp/src/commonMain/kotlin/com/example/mycrib/models/TaskCompletion.kt +++ b/composeApp/src/commonMain/kotlin/com/example/mycrib/models/TaskCompletion.kt @@ -42,10 +42,10 @@ data class TaskCompletionCreateRequest( @SerialName("completed_by_phone") val completedByPhone: String? = null, @SerialName("completed_by_email") val completedByEmail: String? = null, @SerialName("company_name") val companyName: String? = null, + @SerialName("completion_date") val completionDate: String, @SerialName("actual_cost") val actualCost: String? = null, val notes: String? = null, val rating: Int? = null - // Note: completion_date is set automatically by the backend ) @Serializable