diff --git a/src/DynamoPackages/PackageManagerClient.cs b/src/DynamoPackages/PackageManagerClient.cs index e793b06f993..96b5bd99984 100644 --- a/src/DynamoPackages/PackageManagerClient.cs +++ b/src/DynamoPackages/PackageManagerClient.cs @@ -74,7 +74,7 @@ internal List UserVotes() return pkgResponse.content; }, null); - return votes.has_upvoted; + return votes?.has_upvoted; } internal PackageManagerResult DownloadPackage(string packageId, string version, out string pathToPackage)