Skip to content

Commit

Permalink
chore: change properties name
Browse files Browse the repository at this point in the history
  • Loading branch information
eyatsenkoperpetio committed Feb 13, 2024
1 parent a596140 commit 6414890
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions OpenEdX/Data/CorePersistence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ public class CorePersistence: CorePersistenceProtocol {

var predicate: NSPredicate {
switch self {
case let .id(args):
NSPredicate(format: "id = %@", args)
case .courseId(let args):
NSPredicate(format: "courseId = %@", args)
case .state(let args):
NSPredicate(format: "state != %@", args)
case .id(let id):
NSPredicate(format: "id = %@", id)
case .courseId(let courseId):
NSPredicate(format: "courseId = %@", courseId)
case .state(let state):
NSPredicate(format: "state != %@", state)
}
}
}
Expand Down

0 comments on commit 6414890

Please sign in to comment.