Skip to content

Commit e1d97b5

Browse files
committed
fix for ios
1 parent 0281c96 commit e1d97b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNSourcepointCmp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ import React
100100
}
101101

102102
public func rejectAll(_ campaignType: String) {
103-
consentManager?.rejectAll(campaignType: SPCampaignType(rawValue: campaignType))
103+
consentManager?.rejectAll(campaignType: SPCampaignType(rawValue: campaignType == "gdpr" ? "GDPR" : campaignType ))
104104
}
105105

106106
weak var rootViewController: UIViewController? {

0 commit comments

Comments
 (0)