Skip to content

Commit

Permalink
Added missing 'container' property in metadata on a package version. (o…
Browse files Browse the repository at this point in the history
…ctokit#2696)

Co-authored-by: Keegan Campbell <[email protected]>
  • Loading branch information
thomaslem and kfcampbell authored Apr 14, 2023
1 parent 7b1fa04 commit 5292e18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Octokit/Models/Response/PackageVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ public class PackageVersionMetadata
{
public PackageVersionMetadata() { }

public PackageVersionMetadata(string packageType)
public PackageVersionMetadata(string packageType, PackageVersionMetadataContainer container)
{
PackageType = packageType;
Container = container;
}

public string PackageType { get; private set; }

public PackageVersionMetadataContainer Container { get; private set; }

internal string DebuggerDisplay => new SimpleJsonSerializer().Serialize(this);
}

Expand Down

0 comments on commit 5292e18

Please sign in to comment.