Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 373e465

Browse files
call onAction delegate on CCPAConsentViewController
1 parent eda321d commit 373e465

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CCPAConsentViewController/Classes/CCPAConsentViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ extension CCPAConsentViewController: ConsentDelegate {
266266
}
267267

268268
public func onAction(_ action: Action, consents: PMConsents?) {
269+
consentDelegate?.onAction?(action, consents: consents)
269270
if action == .AcceptAll || action == .RejectAll || action == .SaveAndExit {
270271
sourcePoint.postAction(action: action, consentUUID: consentUUID, consents: consents) { [weak self] actionResponse, error in
271272
if let response = actionResponse {

0 commit comments

Comments
 (0)