From 0c1be0de094d82fb40548472ea0b49303cebffe6 Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Mon, 8 Apr 2024 13:41:23 +0200 Subject: [PATCH] fix: make field truly optional --- .../kotlin/com/powersync/sync/StreamingSyncCheckpointDiff.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/commonMain/kotlin/com/powersync/sync/StreamingSyncCheckpointDiff.kt b/core/src/commonMain/kotlin/com/powersync/sync/StreamingSyncCheckpointDiff.kt index 99f4ebf9..dd83b802 100644 --- a/core/src/commonMain/kotlin/com/powersync/sync/StreamingSyncCheckpointDiff.kt +++ b/core/src/commonMain/kotlin/com/powersync/sync/StreamingSyncCheckpointDiff.kt @@ -9,5 +9,5 @@ data class StreamingSyncCheckpointDiff( @SerialName("last_op_id") val lastOpId: String, @SerialName("updated_buckets") val updatedBuckets: List, @SerialName("removed_buckets") val removedBuckets: List, - @SerialName("write_checkpoint") val writeCheckpoint: String? + @SerialName("write_checkpoint") val writeCheckpoint: String? = null ) \ No newline at end of file