Skip to content

Commit

Permalink
Update CountlyNotificationService.m
Browse files Browse the repository at this point in the history
  • Loading branch information
turtledreams authored Nov 27, 2024
1 parent 1dc8f1c commit aee039f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CountlyNotificationService.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Please visit www.count.ly for more information.

#import "CountlyNotificationService.h"
#import "CountlyCommon.h"

#if DEBUG
#define COUNTLY_EXT_LOG(fmt, ...) NSLog([@"%@ " stringByAppendingString:fmt], @"[CountlyNSE]", ##__VA_ARGS__)
Expand Down Expand Up @@ -86,7 +85,7 @@ + (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withConte

COUNTLY_EXT_LOG(@"Attachment specified in Countly payload: %@", attachmentURL);

[[CountlyCommon.sharedInstance.URLSession downloadTaskWithURL:[NSURL URLWithString:attachmentURL] completionHandler:^(NSURL * location, NSURLResponse * response, NSError * error)
[[NSURLSession.sharedSession downloadTaskWithURL:[NSURL URLWithString:attachmentURL] completionHandler:^(NSURL * location, NSURLResponse * response, NSError * error)
{
if (!error)
{
Expand Down

0 comments on commit aee039f

Please sign in to comment.