Skip to content

Commit 53333a0

Browse files
fix: Fix casing for PATCH in Network Client (box/box-codegen#913) (#1366)
1 parent 25b767a commit 53333a0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "06ab9c3", "specHash": "425a724", "version": "10.5.0" }
1+
{ "engineHash": "ef6a341", "specHash": "425a724", "version": "10.5.0" }

Box.Sdk.Gen.NetFramework/Networking/BoxNetworkClient/BoxNetworkClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public ProxyClient(string proxyKey, ProxyConfig proxyConfig)
434434
{ "GET", HttpMethod.Get },
435435
{ "POST", HttpMethod.Post },
436436
{ "PUT", HttpMethod.Put },
437-
{ "PATCH", new HttpMethod("Patch") },
437+
{ "PATCH", new HttpMethod("PATCH") },
438438
{ "DELETE", HttpMethod.Delete },
439439
{ "OPTIONS", HttpMethod.Options },
440440
{ "HEAD", HttpMethod.Head },

Box.Sdk.Gen.NetFramework/Networking/DefaultNetworkClient/DefaultNetworkClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public ProxyClient(string proxyKey, ProxyConfig proxyConfig)
439439
{ "GET", HttpMethod.Get },
440440
{ "POST", HttpMethod.Post },
441441
{ "PUT", HttpMethod.Put },
442-
{ "PATCH", new HttpMethod("Patch") },
442+
{ "PATCH", new HttpMethod("PATCH") },
443443
{ "DELETE", HttpMethod.Delete },
444444
{ "OPTIONS", HttpMethod.Options },
445445
{ "HEAD", HttpMethod.Head },

Box.Sdk.Gen.NetStandard/Networking/BoxNetworkClient/BoxNetworkClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public ProxyClient(string proxyKey, ProxyConfig proxyConfig)
434434
{ "GET", HttpMethod.Get },
435435
{ "POST", HttpMethod.Post },
436436
{ "PUT", HttpMethod.Put },
437-
{ "PATCH", new HttpMethod("Patch") },
437+
{ "PATCH", new HttpMethod("PATCH") },
438438
{ "DELETE", HttpMethod.Delete },
439439
{ "OPTIONS", HttpMethod.Options },
440440
{ "HEAD", HttpMethod.Head },

Box.Sdk.Gen.NetStandard/Networking/DefaultNetworkClient/DefaultNetworkClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ public ProxyClient(string proxyKey, ProxyConfig proxyConfig)
439439
{ "GET", HttpMethod.Get },
440440
{ "POST", HttpMethod.Post },
441441
{ "PUT", HttpMethod.Put },
442-
{ "PATCH", new HttpMethod("Patch") },
442+
{ "PATCH", new HttpMethod("PATCH") },
443443
{ "DELETE", HttpMethod.Delete },
444444
{ "OPTIONS", HttpMethod.Options },
445445
{ "HEAD", HttpMethod.Head },

0 commit comments

Comments
 (0)