Skip to content

Commit 51b1d9f

Browse files
committed
remove file type as a workaround
1 parent 2c3f0bb commit 51b1d9f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/Modrinth.Net/Models/File.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System.Text.Json.Serialization;
2-
using Modrinth.Models.Enums.File;
3-
4-
#pragma warning disable CS8618
1+
#pragma warning disable CS8618
52
namespace Modrinth.Models;
63

74
/// <summary>
@@ -34,9 +31,9 @@ public class File
3431
/// </summary>
3532
public int Size { get; set; }
3633

37-
/// <summary>
34+
/*/// <summary>
3835
/// The type of the additional file, used mainly for adding resource packs to datapacks
3936
/// </summary>
4037
[JsonPropertyName("file_type")]
41-
public FileType? FileType { get; set; }
38+
public FileType? FileType { get; set; }*/
4239
}

src/Modrinth.Net/Modrinth.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1313
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1414
<PackageReadmeFile>README.md</PackageReadmeFile>
15-
<PackageVersion>3.2.1</PackageVersion>
15+
<PackageVersion>3.2.2</PackageVersion>
1616
<Version>$(PackageVersion)</Version>
1717
<TargetFramework>net6.0</TargetFramework>
1818
<RootNamespace>Modrinth</RootNamespace>

0 commit comments

Comments
 (0)