diff --git a/LICENSE b/LICENSE index 878ac53..e62ad32 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2022 Moesif, Inc +Copyright (c) 2023 Moesif, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Moesif.Api/Controllers/BaseController.cs b/Moesif.Api/Controllers/BaseController.cs index 72329b4..c462ee5 100644 --- a/Moesif.Api/Controllers/BaseController.cs +++ b/Moesif.Api/Controllers/BaseController.cs @@ -9,7 +9,6 @@ using Moesif.Api.Exceptions; using System.IO; using System.Text; -using Newtonsoft.Json.Linq; namespace Moesif.Api.Controllers { @@ -63,9 +62,7 @@ internal void ValidateResponse(HttpResponse _response, HttpContext _context) Byte[] bytes = new byte[body.Length]; body.Position = 0; body.Read(bytes, 0, (int)body.Length); - string bodyStr = Encoding.UTF8.GetString(bytes); - JObject jsonErr = JObject.Parse(bodyStr); - bodyData = (string)jsonErr["moesif_error"]["msg"]; + bodyData = Encoding.UTF8.GetString(bytes); } } catch (Exception) { }; diff --git a/Moesif.Api/Moesif.Api.nuspec b/Moesif.Api/Moesif.Api.nuspec index ce22640..3408fbf 100644 --- a/Moesif.Api/Moesif.Api.nuspec +++ b/Moesif.Api/Moesif.Api.nuspec @@ -2,7 +2,7 @@ Moesif.Api - 2.0.7 + 2.0.8 MoesifApi Moesif Moesif @@ -13,7 +13,7 @@ Log API Calls to Moesif API Analytics - Copyright 2020 + Copyright 2023 en-US azure web app moesif API analytics insights debug debugging log logging apm performance monitor monitoring restful rest graphql ethereum web3 json-rpc soap net microsoft diff --git a/Moesif.Api/Properties/AssemblyInfo.cs b/Moesif.Api/Properties/AssemblyInfo.cs index 3ff9b2d..9179337 100644 --- a/Moesif.Api/Properties/AssemblyInfo.cs +++ b/Moesif.Api/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Moesif, Inc")] [assembly: AssemblyProduct("Moesif.Api")] -[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Version information for an assembly consists of the following four values: @@ -23,5 +23,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.0.7")] -[assembly: AssemblyFileVersion("2.0.7")] +[assembly: AssemblyVersion("2.0.8")] +[assembly: AssemblyFileVersion("2.0.8")]