|
@@ -104,7 +104,7 @@ final class BaseContactTrickManager: NSObject, ContactTrickManager, Injectable {
|
|
|
let results = await CoreDataStack.shared.fetchEntitiesAsync(
|
|
let results = await CoreDataStack.shared.fetchEntitiesAsync(
|
|
|
ofType: OrefDetermination.self,
|
|
ofType: OrefDetermination.self,
|
|
|
onContext: backgroundContext,
|
|
onContext: backgroundContext,
|
|
|
- predicate: NSPredicate.enactedDetermination,
|
|
|
|
|
|
|
+ predicate: NSPredicate(format: "deliverAt >= %@", Date.halfHourAgo as NSDate), // fetches enacted and suggested
|
|
|
key: "timestamp",
|
|
key: "timestamp",
|
|
|
ascending: false,
|
|
ascending: false,
|
|
|
fetchLimit: 1
|
|
fetchLimit: 1
|