Skip to content

Commit e6edc06

Browse files
author
Adam Schlesinger
committed
1 parent e468cc3 commit e6edc06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iOS_SDK/OneSignalSDK/Source/OneSignalRequest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ -(void)attachBodyToRequest:(NSMutableURLRequest *)request withParameters:(NSDict
101101
}
102102

103103
NSError *error;
104-
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted error:&error];
105-
104+
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:parameters options:NSJSONWritingPrettyPrinted | NSJSONWritingWithoutEscapingSlashes error:&error];
105+
106106
request.HTTPBody = jsonData;
107107
}
108108

0 commit comments

Comments
 (0)