Marino Faggiana 6 years ago
parent
commit
a2d2d5acd0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Notification Service Extension/NotificationService.swift

+ 1 - 1
Notification Service Extension/NotificationService.swift

@@ -57,7 +57,7 @@ class NotificationService: UNNotificationServiceExtension {
             }
             
             do {
-                let json = try JSONSerialization.jsonObject(with: data, options: []) as! [String: AnyObject]
+                let json = try JSONSerialization.jsonObject(with: data) as! [String:AnyObject]
                 if let app = json["app"] as? String {
                     bestAttemptContent.title = app.uppercased()
                 }