Skip to content

Commit

Permalink
Fix very old coding error
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-branch committed Mar 28, 2024
1 parent ed3ca28 commit b737618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BranchSDK/BranchEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ - (instancetype)initWithCoder:(NSCoder *)decoder {
self = [super initWithCoder:decoder];
if (!self) return self;

self.serverURL = [decoder decodeObjectOfClass:NSString.class forKey:@"serverURL"];
self.serverURL = [decoder decodeObjectOfClass:NSURL.class forKey:@"serverURL"];
self.eventDictionary = [decoder decodeObjectOfClass:NSDictionary.class forKey:@"eventDictionary"];
return self;
}
Expand Down

0 comments on commit b737618

Please sign in to comment.