File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ - (NSDictionary*) dictionary {
6060 addInteger (matchDuration, ~duration);
6161 addInteger (linkType, ~type);
6262
63- [dictionary addEntriesFromDictionary: self .controlParams];
63+ // [dictionary addEntriesFromDictionary:self.controlParams];
6464
6565 return dictionary;
6666}
Original file line number Diff line number Diff line change @@ -700,7 +700,13 @@ - (void) branchShortLinkWithContent:(BranchUniversalObject*)content
700700
701701 NSMutableDictionary *dictionary = [NSMutableDictionary new ];
702702 [dictionary addEntriesFromDictionary: linkProperties.dictionary];
703- dictionary[@" data" ] = content.dictionary ;
703+
704+ // Control params must also be at the data level
705+ NSMutableDictionary *data = [NSMutableDictionary new ];
706+ [data addEntriesFromDictionary: linkProperties.controlParams];
707+ [data addEntriesFromDictionary: content.dictionary];
708+ dictionary[@" data" ] = data;
709+
704710 [self .networkAPIService appendV1APIParametersWithDictionary: dictionary];
705711 [self .networkAPIService postOperationForAPIServiceName: @" v1/url"
706712 dictionary: dictionary
You can’t perform that action at this time.
0 commit comments