Skip to content

Commit 4d2131c

Browse files
committed
Fixed Not Supported Exception, that occurred when parsin source json data in dotnet 5 and up
1 parent 9d6f0a4 commit 4d2131c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WGet.NET/Models/SourceModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public List<string> TrustLevel
158158
/// <summary>
159159
/// Initializes a new instance of the <see cref="WGetNET.Models.SourceModel"/> class.
160160
/// </summary>
161-
internal SourceModel()
161+
public SourceModel()
162162
{
163163
// Empty constructor for JSON parsing.
164164
}

0 commit comments

Comments
 (0)