From 4a87f02ec46bd7defde33738d91d770a323758d0 Mon Sep 17 00:00:00 2001 From: Corey Date: Wed, 20 Nov 2024 15:06:48 -0800 Subject: [PATCH] fix: Remove className encoding for RevisionRecord (#200) --- Sources/ParseCareKit/Models/PCKRevisionRecord.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/ParseCareKit/Models/PCKRevisionRecord.swift b/Sources/ParseCareKit/Models/PCKRevisionRecord.swift index 1fd97c00..d699ff87 100644 --- a/Sources/ParseCareKit/Models/PCKRevisionRecord.swift +++ b/Sources/ParseCareKit/Models/PCKRevisionRecord.swift @@ -254,7 +254,6 @@ extension PCKRevisionRecord { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(className, forKey: .className) try container.encodeIfPresent(objectId, forKey: .objectId) try container.encodeIfPresent(createdAt, forKey: .createdAt) try container.encodeIfPresent(updatedAt, forKey: .updatedAt)