fix(notification): body should be optional on iOS (#1737)

This commit is contained in:
Lucas Fernandes Nogueira
2024-09-05 17:46:04 -03:00
committed by GitHub
parent 12e80ffe00
commit 3d301c654e
3 changed files with 11 additions and 4 deletions
@@ -65,7 +65,7 @@ struct NotificationAttachment: Codable {
struct Notification: Decodable {
let id: Int
var title: String
var body: String
var body: String?
var extra: [String: String]?
let schedule: NotificationSchedule?
let attachments: [NotificationAttachment]?