We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3774b8 + 69a0608 commit b6a4566Copy full SHA for b6a4566
Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs
@@ -271,8 +271,8 @@ private static GdprConsent UnwrapGdprConsent(GdprConsentWrapper wrapped)
271
272
var vendorGrantValue = JToken.FromObject(vendorGrantWrapper.Value);
273
274
- if (vendorGrantValue["granted"] != null)
275
- isGranted = vendorGrantValue["granted"].ToObject<bool>();
+ if (vendorGrantValue["vendorGrant"] != null)
+ isGranted = vendorGrantValue["vendorGrant"].ToObject<bool>();
276
277
if (vendorGrantValue["purposeGrants"] != null)
278
{
@@ -410,4 +410,4 @@ private static UsnatConsent UnwrapUsnatConsent(UsnatConsentWrapper wrapped)
410
}
411
#endregion
412
413
-}
+}
0 commit comments