Skip to content

Commit d0f9a69

Browse files
committed
update RNSPGDPRConsent constructor
1 parent 4094b16 commit d0f9a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/sourcepoint/reactnativecmp/consents/RNSPGDPRConsent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data class RNSPGDPRConsent (
3434
constructor(gdpr: GDPRConsent) : this(
3535
uuid = gdpr.uuid,
3636
applies = gdpr.applies,
37-
createdDate = null,
37+
createdDate = gdpr.dateCreated,
3838
expirationDate = null,
3939
euconsent = gdpr.euconsent,
4040
vendorGrants = gdpr.grants,

0 commit comments

Comments
 (0)