Update ntfy/Persistence/Store.swift

Co-authored-by: Arun Philip <dacodedbeat@gmail.com>
This commit is contained in:
Philipp C. Heckel 2023-11-13 11:35:59 -05:00 committed by GitHub
parent ea26378e29
commit 20804eacc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ class Store: ObservableObject {
notification.subscription = subscription
subscription.addToNotifications(notification)
subscription.lastNotificationId = message.id
Log.d(Store.tag, "Storing notifcation with ID \(notification.id ?? "<unknown>")")
Log.d(Store.tag, "Storing notification with ID \(notification.id ?? "<unknown>")")
try context.save()
} catch let error {
Log.w(Store.tag, "Cannot store notification (fromMessage)", error)