mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-04-28 18:30:09 +00:00
🐛 Fixing bug where User data was not properly saved to CoreData
This commit is contained in:
@@ -51,7 +51,7 @@ struct PersistenceController {
|
||||
if self.context.hasChanges {
|
||||
do {
|
||||
try self.context.save()
|
||||
print("In CoreData.stack.save()")
|
||||
print("In PersistenceController.shared.save()")
|
||||
} catch {
|
||||
let nserror = error as NSError
|
||||
fatalError("Unresolved error \(nserror), \(nserror.userInfo)")
|
||||
|
||||
Reference in New Issue
Block a user