diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-06-10 13:06:55 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-06-10 13:06:55 +0300 |
commit | 34ca59396ac16f8f5057ba343709ce053ad41987 (patch) | |
tree | 1954740a8022de41ad836ebe3acdec82bab977fd /Notification Service Extension | |
parent | f6c1178cd5b8e9879d4dd1c79ee306be43fd71b2 (diff) |
coding
Diffstat (limited to 'Notification Service Extension')
-rw-r--r-- | Notification Service Extension/NotificationService.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Notification Service Extension/NotificationService.swift b/Notification Service Extension/NotificationService.swift index 75bb7e6df..e34b606bd 100644 --- a/Notification Service Extension/NotificationService.swift +++ b/Notification Service Extension/NotificationService.swift @@ -46,7 +46,7 @@ class NotificationService: UNNotificationServiceExtension { guard let data = decryptedMessage.data(using: .utf8) else { continue } - let json = try JSONSerialization.jsonObject(with: data) as! [String:AnyObject] + let json = try JSONSerialization.jsonObject(with: data) as! [String: AnyObject] if let subject = json["subject"] as? String { bestAttemptContent.body = subject } |