Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type of EffectiveLifeYears int?->decimal? #409

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ionican
Copy link

@ionican ionican commented Feb 7, 2022

This pull request is related to the parsing issue #363.

Implementing this change fixes the apparently previously broken:

await api.GetAssetsAsync( token.AccessToken, _tenantId, status, pageNumber, 100 );

@@ -177,7 +177,8 @@ internal object Deserialize(IRestResponse response, Type type)
}
catch (Exception e)
{
throw new ApiException(500, e.Message);
//throw new ApiException(500, e.Message);
return null;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stet - not needed for this commit.

@@ -31,7 +31,7 @@
<PackageReference Include="JsonSubTypes" Version="1.5.2" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="RestSharp" Version="106.11.4" />
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="6.0.0-preview.4.21253.7" />
</ItemGroup>

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stet - not needed for this commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant