Skip to content

Commit f0d9419

Browse files
authored
Fixed error code for MultiPartFileMissing (#7148)
1 parent c6a9e04 commit f0d9419

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpMultipartMiddlewareTests.MissingFile_Test.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"message": "File of key '1' is missing.",
88
"extensions": {
9-
"code": "HC00038"
9+
"code": "HC0038"
1010
}
1111
}
1212
],

src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpMultipartMiddlewareTests.MissingKeyInMap_Test.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"message": "File of key '' is missing.",
88
"extensions": {
9-
"code": "HC00038"
9+
"code": "HC0038"
1010
}
1111
}
1212
],

src/HotChocolate/Core/src/Abstractions/ErrorCodes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public static class Server
135135
/// <summary>
136136
/// A key is referring to a file that was not provided.
137137
/// </summary>
138-
public const string MultiPartFileMissing = "HC00038";
138+
public const string MultiPartFileMissing = "HC0038";
139139

140140
/// <summary>
141141
/// The variable path is referring to a variable that does not exist.

0 commit comments

Comments
 (0)