Skip to content

Commit

Permalink
Bump Delivery dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
XDex committed Sep 10, 2021
1 parent 4debdc2 commit 9aa8d93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Adobe.Target.Client/Adobe.Target.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ItemGroup Label="Project References">
<PackageReference Include="Adobe.ExperienceCloud.Ecid" Version="1.0.0" />
<PackageReference Include="Adobe.Target.Delivery" Version="1.1.1" />
<PackageReference Include="Adobe.Target.Delivery" Version="1.1.2" />
<PackageReference Include="JsonLogic.Net" Version="1.1.11" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
Expand Down
4 changes: 4 additions & 0 deletions Source/Adobe.Target.Client/OnDevice/RuleLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ private bool DeserializeRules(string rules, out OnDeviceDecisioningRuleSet? dese
try
{
deserialized = JsonConvert.DeserializeObject<OnDeviceDecisioningRuleSet>(rules);
if (deserialized == null)
{
throw new ApplicationException(Messages.RuleDeserializationFailed);
}
}
catch (Exception e)
{
Expand Down

0 comments on commit 9aa8d93

Please sign in to comment.