From a183f183ef6923fd69a5b39fa7c3d5a89312c553 Mon Sep 17 00:00:00 2001 From: Anton Yarmolenko Date: Mon, 30 Sep 2024 10:19:26 +0200 Subject: [PATCH] fix: BugFix for PrimaryEnrollment data (#516) * Merge pull request #22 from edx/fix/PrimaryEnrollment_data fix: quick fix for primary enrolment data * chore: deleted unused parameter for init --------- Co-authored-by: Vadim Kuznetsov Co-authored-by: Anton Yarmolenko <37253+rnr@users.noreply.github.com> --- Core/Core/Data/Model/Data_PrimaryEnrollment.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Core/Data/Model/Data_PrimaryEnrollment.swift b/Core/Core/Data/Model/Data_PrimaryEnrollment.swift index 60764c78a..cbf70fc81 100644 --- a/Core/Core/Data/Model/Data_PrimaryEnrollment.swift +++ b/Core/Core/Data/Model/Data_PrimaryEnrollment.swift @@ -28,7 +28,7 @@ public extension DataLayer { // MARK: - Primary struct ActiveEnrollment: Codable { - public let auditAccessExpires: Date? + public let auditAccessExpires: String? public let created: String? public let mode: String? public let isActive: Bool? @@ -53,7 +53,7 @@ public extension DataLayer { } public init( - auditAccessExpires: Date?, + auditAccessExpires: String?, created: String?, mode: String?, isActive: Bool?,