Skip to content

Commit

Permalink
fix: BugFix for PrimaryEnrollment data (#516)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Anton Yarmolenko <[email protected]>
  • Loading branch information
3 people authored Sep 30, 2024
1 parent 23c219c commit a183f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Core/Data/Model/Data_PrimaryEnrollment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand All @@ -53,7 +53,7 @@ public extension DataLayer {
}

public init(
auditAccessExpires: Date?,
auditAccessExpires: String?,
created: String?,
mode: String?,
isActive: Bool?,
Expand Down

0 comments on commit a183f18

Please sign in to comment.