Fix indent issue affecting last draft fetching

This commit is contained in:
Angelo Stavrow 2020-11-04 15:37:25 -05:00
parent 444859b2fb
commit 55473f6a79
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -24,7 +24,7 @@ struct PostEditorModel {
let coordinator = LocalStorageManager.persistentContainer.persistentStoreCoordinator
guard let postManagedObjectID = coordinator.managedObjectID(forURIRepresentation: postURL) else { return nil }
guard let post = LocalStorageManager.persistentContainer.viewContext.object(
with: postManagedObjectID
with: postManagedObjectID
) as? WFAPost else { return nil }
return post