From 0c07641c62e29c7e9acc4eed083569f517b8819e Mon Sep 17 00:00:00 2001 From: ishchenkoviacheslav Date: Fri, 28 Feb 2020 21:52:05 +0200 Subject: [PATCH 1/2] Update copy.json (#17155) --- aspnetcore/web-api/jsonpatch/samples/2.2/JSON/copy.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aspnetcore/web-api/jsonpatch/samples/2.2/JSON/copy.json b/aspnetcore/web-api/jsonpatch/samples/2.2/JSON/copy.json index c9cc7262f5..7aeb1e15dd 100644 --- a/aspnetcore/web-api/jsonpatch/samples/2.2/JSON/copy.json +++ b/aspnetcore/web-api/jsonpatch/samples/2.2/JSON/copy.json @@ -6,7 +6,7 @@ }, { "op": "copy", - "from": "/orders/0", - "path": "/orders/1" + "from": "/orders/1", + "path": "/orders/0" } -] \ No newline at end of file +] From 6dd260b7430ea37d508fa665b2716338395d7374 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Fri, 28 Feb 2020 17:03:33 -0800 Subject: [PATCH 2/2] Only show property when it exists (#17156) Fixes https://github.com/dotnet/AspNetCore.Docs/issues/15412. The property was created in 5.0. so let's only show it there. --- aspnetcore/fundamentals/localization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/localization.md b/aspnetcore/fundamentals/localization.md index 016f5a6de5..7565e899f5 100644 --- a/aspnetcore/fundamentals/localization.md +++ b/aspnetcore/fundamentals/localization.md @@ -272,7 +272,7 @@ The [Accept-Language header](https://www.w3.org/International/questions/qa-accep 6. Tap the language, then tap **Move Up**. -::: moniker range=">= aspnetcore-3.1" +::: moniker range="> aspnetcore-3.1" ### The Content-Language HTTP header The [Content-Language](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language) entity header: