Marino Faggiana 6 년 전
부모
커밋
a2d2d5acd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()
                 }