Skip to content

Commit

Permalink
Merge pull request #560 from finnp/develop
Browse files Browse the repository at this point in the history
Make webConsents public
  • Loading branch information
andresilveirah committed Apr 16, 2024
2 parents fd02078 + 4d309c3 commit 2479e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConsentViewController/Classes/Consents/SPUserData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class SPConsent<ConsentType: Codable & Equatable & NSCopying>: NSObject,
/// - SeeAlso: `SPUSNatConsent`
public let usnat: SPConsent<SPUSNatConsent>?

var webConsents: SPWebConsents { SPWebConsents(
public var webConsents: SPWebConsents { SPWebConsents(
gdpr: .init(uuid: gdpr?.consents?.uuid, webConsentPayload: gdpr?.consents?.webConsentPayload),
ccpa: .init(uuid: ccpa?.consents?.uuid, webConsentPayload: ccpa?.consents?.webConsentPayload),
usnat: .init(uuid: usnat?.consents?.uuid, webConsentPayload: usnat?.consents?.webConsentPayload)
Expand Down

0 comments on commit 2479e0f

Please sign in to comment.